Results 1 to 10 of 10
-
14th Jan 2012, 10:06 PM #1OPMember
Problem with htaccess [Resolved]
All of a sudden my website started showing "403 Forbidden" error messages.
I tried to find the reason for this and read that deleting htaccess could solve the problem, tried with renaming it and my index page of my website started working again. Although all my other pages showed 404 not found.
The new htaccess file that was generated was empty.
I tried to paste the content of the old file into the empty file again, to revert the change so got 403 Forbidden again.
What should I do to solve this?
Content of htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressxandor Reviewed by xandor on . Problem with htaccess All of a sudden my website started showing "403 Forbidden" error messages. I tried to find the reason for this and read that deleting htaccess could solve the problem, tried with renaming it and my index page of my website started working again. Although all my other pages showed 404 not found. The new htaccess file that was generated was empty. I tried to paste the content of the old file into the empty file again, to revert the change so got 403 Forbidden again. What should I do to Rating: 5
-
14th Jan 2012, 10:09 PM #2BannedWebsite's:
CuraShare.Net CuraShare.Me CuraShare.InfoIt has nothing to do with the content of the .htaccess file...
Check if the files have read+execution rights...
-
14th Jan 2012, 10:12 PM #3MemberWebsite's:
Nerdy-Tutorials.com Mp3viddown.com Filmlab.euit would be nice if u could tell us the site
Convert Youtube to MP3 + Download!! mp3viddown.com
-
14th Jan 2012, 10:14 PM #4OPMember
Think it doesnt matter if you know the site (since it just shows this message):
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
<removed website name>
Why would read and executions rights change all of a sudden?
Not sure which files to check, index.php got read and write permissions, not execute.
Dont know much about what permissions they need, if it is execute to show them in browser. And dunno how to change the permissions for all the needed files. If that is the case.
-
14th Jan 2012, 10:28 PM #5BannedWebsite's:
CuraShare.Net CuraShare.Me CuraShare.InfoCan you check the contents of the error log?
-
14th Jan 2012, 10:36 PM #6OPMember
[Sat Jan 14 23:33:14 2012] [error] [client] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden
That error appeared around 300 times in the last 10 min in error log.
Btw, the exact permission files got is 0644
-
14th Jan 2012, 10:45 PM #7Member
for shits and giggles try
Code:Options +FollowSymLinks # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
and did you change host or same host as when it was working?
-
14th Jan 2012, 10:50 PM #8OPMember
Think you just saved my website with that "Options +FollowSymLinks" line. It started working again right after I changed it.
THANK YOU!!
It is shared hosting and it is same host. I didnt change anything, I worked earlier today and then when I checked back it stopped working.
Only thing I did today was writing a post and saving the draft.
-
14th Jan 2012, 10:52 PM #9Member
glad to help, and most likely (since its shared hosting) the host did something while updating something on server...but all is well now
-
15th Jan 2012, 12:55 AM #10Member
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Problem with .htaccess
By Uchiha-Madara in forum DLEReplies: 7Last Post: 4th Apr 2012, 04:58 PM -
Help - Problem with .htaccess DLE
By Uchiha-Madara in forum Web Application/Script SupportReplies: 3Last Post: 15th Jan 2012, 01:33 PM -
how can fix htaccess problem on NGINX ?
By chiwan in forum Server ManagementReplies: 7Last Post: 25th Sep 2011, 04:12 PM -
problem with my .htaccess file for datalife
By zebono2 in forum Web Development AreaReplies: 3Last Post: 24th Sep 2011, 04:33 PM -
.htaccess problem in DLE
By Arthur in forum Webmaster DiscussionReplies: 25Last Post: 8th Mar 2011, 06:39 PM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...