.htaccess Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gsherp
    New Member
    • May 2007
    • 34

    .htaccess Question

    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
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Check out the RewriteMap directive.

    Mark.

    Comment

    Working...