Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: Ocean10000 & incrediBILL & phranque

Possible to make a global rewritecond?

   
11:50 am on Apr 9, 2004 (gmt 0)

10+ Year Member



I have several vhosts and I want to apply one or more sets of rewrite rules to them all. Is there any way to do that aside from putting the rewrite rules in each separate <VirtualHost>?
2:35 pm on Apr 9, 2004 (gmt 0)

10+ Year Member



If you put your 'global' .htaccess file in a directory that is 'above' your websites then you just need to use
RewriteOptions inherit
in each sites' .htaccess file (if a site has no .htaccess file then the 'global' file is used by default).
2:48 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



Is there any way to do this without using a .htaccess file? I prefer to hardcode my stuff in the configuration of the server.
8:47 am on Apr 15, 2004 (gmt 0)

10+ Year Member



bump?
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month