ispCP - Board - Support
Error 403 - 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 (/thread-3665.html)



Error 403 - mtoennies - 07-02-2008 10:05 AM

Hi there!

I've a problem with my ispCP installation on my suse server. when i access the admin control panel under http://admin.suse-server.ip/ i just became an Error 403
See there: [Image: error403nm4.th.jpg]

OS: SuSE 10.3
32bit/64bit: 64bit
RC/Revision: RC5
Install date: today (1. July)
VM/Real Server: VMWare Workstation

/etc/ispcp/ispcp.conf extract
Code:
SERVER_HOSTNAME = suse-server.ip
BASE_SERVER_IP = 192.168.2.106
BASE_SERVER_VHOST = admin.suse-server.ip

The domain suse-server.ip is routed via another DNS server with 2 A records to my suse server
[Image: dnsmanagementsy7.th.jpg]

The installation script proceeds without any errors, and when the script tell me to visit http://admin.suse-server.ip/ to complete the installation i get the 403 error.

Logfiles:

/var/log/apache2/error_log
Code:
[Wed Jul 02 01:19:24 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Jul 02 01:19:24 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Wed Jul 02 01:19:24 2008] [notice] Apache/2.2.4 (Linux/SUSE) mod_ssl/2.2.4 OpenSSL/0.9.8e configured -- resuming normal operations

/var/log/apache2/access_log
Code:
empty

/var/log/apache2/admin.suse-server.ip-combined.log
Code:
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET / HTTP/1.1" 403 1136 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0"
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/errordocs.js HTTP/1.1" 304 - "http://admin.suse-server.ip/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0"
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/errordocs.css HTTP/1.1" 304 - "http://admin.suse-server.ip/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0"
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/error_top.jpg HTTP/1.1" 304 - "http://admin.suse-server.ip/errors/inc/errordocs.css" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0"
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/valid_css.jpg HTTP/1.1" 304 - "http://admin.suse-server.ip/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0"192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 304 - "http://admin.suse-server.ip/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9) Gecko/2008052906 Firefox/3.0"


/var/log/apache2/users/admin.suse-server.ip-access.log
Code:
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET / HTTP/1.1" 403 1136
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/errordocs.js HTTP/1.1" 304 -
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/errordocs.css HTTP/1.1" 304 -
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/error_top.jpg HTTP/1.1" 304 -
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/valid_css.jpg HTTP/1.1" 304 -
192.168.2.100 - - [02/Jul/2008:01:48:54 +0200] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 304 -

/var/log/apache2/users/admin.suse-server.ip-error.log
Code:
[Wed Jul 02 01:48:54 2008] [error] [client 192.168.2.100] Directory index forbidden by Options directive: /srv/www/ispcp/gui/

I tried to fix the problem with a complete chmod 777 on /srv/www/ispcp/* (only for testing purposes Wink) but no success

best regards
Marc


RE: Error 403 - motokochan - 07-02-2008 11:07 AM

Hm. It is possible that index.php isn't added to the DirectoryIndex directive in your Apache config. It might be worth checking that it is. Usually, you'll find it in the main httpd.conf file.