Guest Posted December 11, 2003 Share Posted December 11, 2003 I have problems with the .htaccess file in: mydomain.com/includes/ I had to rename it to be able to view for example the language flags and other pictures. Now I want to have the .htaccess file back to protect my files here. Anyone who have a solution? It feels unsafe when people are able to reach my /includes/application_top.php and /includes/configure.php. My osc is installed on a webhotell so I can't reach any apache config files. Anyone who knows how to solve this? Dennis Link to comment Share on other sites More sharing options...
Guest Posted December 11, 2003 Share Posted December 11, 2003 did you make a backup of the original .htaccess files? they can also have their properties set, via ftp for read/write/execute Link to comment Share on other sites More sharing options...
Guest Posted December 11, 2003 Share Posted December 11, 2003 This is the original .htaccess file. I tried with all kind of rights on it and the problem is that the .htaccess file works TOO good. It's NOT that the .htaccess file dosn't work. It stops people from reading the /includes/languages/english/flag.gif for example... also all the language related pictures, such as the buttons... So the webshop gets pretty ugly as soon as I add the .htaccess file Is here anyone that have a working .htaccess file in /includes/ who can copy it into here??? Or someone that knows a solution? Dennis Link to comment Share on other sites More sharing options...
Guest Posted December 12, 2003 Share Posted December 12, 2003 Come on! Someone must have experience from the same problem! I can't find any way to solve this in the forum or wiki Link to comment Share on other sites More sharing options...
Guest Posted December 13, 2003 Share Posted December 13, 2003 # $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: #http://server/catalog/includes/application_top.php will not work <Files *.php> Order Deny,Allow Deny from all </Files> that's what I have... all of my stuff works Link to comment Share on other sites More sharing options...
Guest Posted December 19, 2003 Share Posted December 19, 2003 I just emailed my admin with the same problem and his reply was --- Your directory was not setup to allow overrides using .htaccess files --- :) Mine work now. Best regards, ~~Nathan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.