Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- conditional in htaccess


g1smd - 10:11 am on Apr 3, 2012 (gmt 0)


No.


You're going to have to get creative with your sync process and site config.

.htaccess.dev on the dev site runs the dev site.

.htaccess for the live site is merely stored on the dev site, unused.

You'll need to alter the dev site main config to look for .htaccess.dev instead of .htaccess here.

You'll need to manually alter both files when you make changes.


The alternative is to add that extra setting to httpd.conf and not have it in .htaccess at all.


Thread source:: http://www.webmasterworld.com/apache/4436609.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com