Problem im having

St3althM4ster

Verified User
Joined
Apr 3, 2013
Messages
7
Hi all i have a clean install of CentOS and Directadmin all up to date, 3 of my site says error 403 even tho there stuff in public_html, ive tried looking on forum but no luck getting a fix and cant see much in logs why its doing it anyone know what to do?
 
403 is not file missing, most probably is an error in .htaccess file, you should better check logs in /var/log/httpd/domains/YOURDOMAIN.TLD.error.log

Regards
 
Hi i dont have a .htaccess file the error say this

[Wed Apr 03 19:35:03 2013] [error] [client 212.159.75.217] Directory index forbidden by Options directive: /home/rpesc/domains/rpesc.co.uk/public_html/
[Wed Apr 03 19:35:03 2013] [error] [client 212.159.75.217] File does not exist: /home/rpesc/domains/rpesc.co.uk/public_html/403.shtml
 
Anyone knows how to sort it? host wont sort it as its not hardware related :(

Maybe the main httpd.conf or the .htaccess file in this directory probably includes:

Options -Indexes

Set it to +Indexes

Or, there's no default document in that directory (index.html, index.php, etc...). On most webservers, that would mean it would show a listing of the directory's contents. But showing that directory is forbidden by the server configuration (Options -Indexes)
 
Hi ive tried setting Options -Indexes and adding a .htaccess but still no joy and dont work it show the files, but it dont go on the index.php or index.html
 
You could try to set this in the .htaccess:
Code:
AddHandler application/x-httpd-php .html
AddType application/x-httpd-php .html
Options -Indexes

Normally it should work.
 
that dont work its gone back to 403 forbidden ive changed it to Options +Indexes but still no joy :(
 
Oh ok i sent them a email as well wonder if i get a reply, ive got 3 domains that are useless atm because of this problem
 
Back
Top