homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Possible to make a global rewritecond?

 11:50 am on Apr 9, 2004 (gmt 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>?



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

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)

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)


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved