qbox Posted May 1, 2009 Share Posted May 1, 2009 hi there I have problem with httpaccess file. I didnt do any changes in this file but for unknown reason i see this lines in RewriteEngine On RewriteBase / RewriteCond %{THE_REQUEST} .*index\.php\?page=turion.* RewriteRule .* - [F,L] This restricted access to some parts on my page. How can this happend when I didnt put nothing in httpaccess file? What can be reason for automaticaly restrict access? Before a while everything works fine..... any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/156385-solved-httpaccess-problem/ Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted May 1, 2009 Share Posted May 1, 2009 Nothing can be automaticly added to a .htaccess, unless your web hosting is possess by evil but i doubt it, in that case of course i recommend a good priest with experience in exorcist. Did you use a script that you didn't wrote like wordpress, phpbb, ... that can have written this file ? You can search all the file in the webserver and look for any reference to '.htaccess' I can't see any usefull use for a cracker to get in and put that file there but it don't hurt to change password, use SFTP over FTP, do not share password, ... And maybe chmod the file so it's only readable and not writable. Not really good since it don't find the source but at least it would fix the problem. Quote Link to comment https://forums.phpfreaks.com/topic/156385-solved-httpaccess-problem/#findComment-823662 Share on other sites More sharing options...
qbox Posted May 4, 2009 Author Share Posted May 4, 2009 I set file permissions to only read and for now its fine, but I dont know is this right solution. Thank you for good explanation. Quote Link to comment https://forums.phpfreaks.com/topic/156385-solved-httpaccess-problem/#findComment-825477 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.