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 http://www.aDifferentSite.com/workingOnJShop.html
deny from all
allow from {yourIPnumber}
Make sure http://www.aDifferentSite.com/workingOnJShop.html 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.
No comments:
Post a Comment