Welcome to WebmasterWorld Guest from 54.167.86.211

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Possible to make a global rewritecond?

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

New User

10+ Year Member

joined:Apr 8, 2004
posts:4
votes: 0


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>?

dcrombie

2:35 pm on Apr 9, 2004 (gmt 0)

Inactive Member
Account Expired

 
 


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)

New User

10+ Year Member

joined:Apr 8, 2004
posts:4
votes: 0


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)

New User

10+ Year Member

joined:Apr 8, 2004
posts:4
votes: 0


bump?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members