On 04/22/2009 11:47 PM, André Warnier wrote:
Basil Mohamed Gohar wrote:
Writing it by hand for all the different VirtualHosts is what I was trying to avoid. Doing it with variables was the goal, and it seems that is not possible. I've been writing it by hand for years now. ;)

I think for this kind of stuff, you should have a look at mod_perl.
Not necessarily for the faint-hearted, but you definitely /can/ do this with it.
http://perl.apache.org
user's list : modp...@perl.apache.org
Thanks for the suggestion. I think I'll keep Perl out of this. I'll just hard code each VirtualHost's canonical name in the rewrite conditions & rules.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to