Error 403 Forbidden - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Error 403 Forbidden (/thread-8030.html) |
Error 403 Forbidden - milon - 10-04-2009 02:53 AM Hi, I have 2 errors after installing on Centos5.3 1) When I add a domain, then goto the domain I get an error 403 forbidden page. This is the domain --> http://www.mostlyharmlessmedia.co.uk 2) When I try to access the webftp, I get: Unable to connect to FTP server localhost on port 21. I did have trouble getting proftpd to start - I had to comment out Code: #DisplayFirstChdir message I'm not certain what information you'll need to assist, so I'll post details when asked. Any help would be greatly appreciated. Thanks, RE: Error 403 Forbidden - MicCo - 10-04-2009 03:16 AM Do you have SSH access ? If yes, can you see the files in the root of the domain, and what is the attributes for the directory and the files ? RE: Error 403 Forbidden - milon - 10-04-2009 03:48 AM Permissions in /var/www/virtual/mostlyharmlessmedia.co.uk/htdocs are all 777. RE: Error 403 Forbidden - sci2tech - 10-04-2009 04:13 AM Should not be 0777. please post output from Code: ls -l RE: Error 403 Forbidden - milon - 10-04-2009 04:22 AM [root@maggie htdocs]# ls -l total 8.0K drwxrwxrwx 2 vu2004 vu2004 4.0K Oct 3 14:27 images -rwxrwxrwx 1 vu2004 vu2004 3.3K Oct 3 18:34 index.html RE: Error 403 Forbidden - sci2tech - 10-04-2009 04:25 AM Oh, that`s simple http://www.mostlyharmlessmedia.co.uk/index.html you miss this directive Code: DirectoryIndex [b]index.html[/b] index.cgi index.pl index.php index.xhtml index.htm RE: Error 403 Forbidden - MicCo - 10-04-2009 04:36 AM Thanks to sci2tech, it looks like it's working now RE: Error 403 Forbidden - milon - 10-04-2009 05:19 AM Thanks for your help. http://www.mostlyharmlessmedia.co.uk/index.html works but http://www.mostlyharmlessmedia.co.uk still gives a 403. RE: Error 403 Forbidden - sci2tech - 10-04-2009 05:21 AM Did you added that directive to apache conf? If no, you need to add it. If yes you need to restart apache RE: Error 403 Forbidden - milon - 10-04-2009 05:40 AM Code: DirectoryIndex [b]index.html[/b] index.php index.xhtml index.htm index.pl index.cgi index.html.var In /etc/httpd/conf/httpd.conf Code: [root@maggie ~]# /etc/init.d/httpd restart Output from restarting apache. But I still have the problem. |