Thursday, October 20, 2005

Blocking JShop while making changes

No comments:
When you want to work on a web site, you can DISABLE JShop for the outside world but ENABLE it for yourself and your tests by doing this:
- Create an .htaccess file on the top level of the JShop folder with the below lines (if an .htaccess file already exists, simply add these lines at the beginning).

ErrorDocument 403
deny from all
allow from {yourIPnumber}

Make sure points to an HTML file on a DIFFERENT web site (since you're denying from the installed JShop site) which shows some "we're working on the site" text.