Setting up files/ folder for images properly
Best method for setting up your thumbnails/icons/images in your files/ area is to create a subdir under files where you would like to keep your secure files, move the .htaccess file out of files/ and into a directory called "secure" persay.
So:
files/ (no .htaccess)
files/secure/ (has .htaccess)
files/images/ (no .htaccess)
Now you can tell all images, etc. to use files/images/ and will have no troubles with displaying images on the front page.
I'm using this same methd on www.cart-lab.com, where E-Goods are storred and images are also storred in a files/ subdirectory.
hth.
Also here's a .htaccess file to put in your skin1/ dir to keep prying eyes away while still keeping the templates readable by the server:
Code:
order deny,allow
deny from all
allow from all
Cart-Lab.com: X-cart Resources, and More!
0 Comments:
Post a Comment
<< Home