Stupid htaccess Tricks ? Perishable Press
Hey Web Developers, here's some fun worth having...play web site dress up i the privacy of your own home while the world sees only what you want it to see. Great for fixing code and providing a demo to your client at the same time!!
--Kate
Stupid htaccess Tricks ? Perishable Press: "Redirect visitors to a temporary site during site development [ ^ ]
During web development, maintenance, or repair, send your visitors to an alternate site while retaining full access for yourself. This is a very useful technique for preventing visitor confusion or dismay during those awkward, web-development moments. Here are the generalized htaccess rules to do it (edit values to suit your needs):
# redirect all visitors to alternate site but retain full access for you
ErrorDocument 403 http://www.alternate-site.com
Order deny,allow
Deny from all"

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home