rapollon Posted April 18, 2007 Posted April 18, 2007 I don't want direct access to osc folders, what should the folder permissions be set to to allow the site to function correctly. thanks apollo
Neon Phoenix Posted April 20, 2007 Posted April 20, 2007 It is my understanding that you would need to just follow the chmod directions in the OSCommerce install instructions. The directories that the average John Smith should not be viewing are protected by an .htaccess file. I am including the .htaccess in the includes directory. The default chmod is 644 when you upload a file before changing it. # $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # #<Directory "/usr/local/apache/htdocs"> # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: [url="http://server/catalog/includes/application_top.php"]http://server/catalog/includes/application_top.php[/url] will not work <Files *.php> Order Deny,Allow Deny from all </Files> I hope this helps, Karl I don't want direct access to osc folders, what should the folder permissions be set to to allow the site to function correctly. thanks apollo
Recommended Posts
Archived
This topic is now archived and is closed to further replies.