Connecting Tech Pros Worldwide Forums | Help | Site Map

.htaccess Question

Member
 
Join Date: May 2007
Posts: 34
#1: Oct 16 '09
I was wondering if there was anyway in the .htaccess file to access bash scripts.

I want to do this because for the mod_rewrite configuration:

RewriteBase /home/ { whoami } /www/

is there any equivalent way of doing a text substitution with whoami command within the RewriteBase line?

Thanks,
gsherp

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,938
#2: Oct 17 '09

re: .htaccess Question


Check out the RewriteMap directive.

Mark.
Reply