Hello. I have recently configured ISPConfig 3 on my server and am having some problems getting to the page. I'm receiving a Forbidden error when I try to go to http://192.168.x.x:8080 here is my vhost config: Code: ###################################################### # This virtual host contains the configuration # for the ISPConfig controlpanel ###################################################### Listen 8080 <VirtualHost *:8080> <FilesMatch "\.ph(p3?|tml)$"> SetHandler None </FilesMatch> <IfModule mod_fcgid.c> DocumentRoot /var/www/ispconfig/ SuexecUserGroup ispconfig ispconfig <Directory /var/www/ispconfig> Options +Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo AllowOverride None <FilesMatch "\.php$"> SetHandler fcgid-script </FilesMatch> FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php Require all granted </Directory> IPCCommTimeout 7200 MaxRequestLen 15728640 </IfModule> <IfModule mpm_itk_module> DocumentRoot /usr/local/ispconfig/interface/web/ AssignUserId ispconfig ispconfig AddType application/x-httpd-php .php <Directory /usr/local/ispconfig/interface/web> # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp" Options +FollowSymLinks AllowOverride None Require all granted php_value magic_quotes_gpc 0 Require all granted </Directory> </IfModule> ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/access.log combined ServerSignature Off <IfModule mod_security2.c> SecRuleEngine Off </IfModule> # SSL Configuration SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.crt SSLCertificateKeyFile /etc/apache2/ssl/apache.key SSLCertificateChainFile /etc/apache2/ssl/sub.class2.server.ca.pem </VirtualHost> <Directory /var/www/php-cgi-scripts> AllowOverride None Require all denied </Directory> <Directory /var/www/php-fcgi-scripts> AllowOverride None Require all denied </Directory> I'm using fastcgi, apache2, php5 on Ubuntu 14.04. Here are my perms of the ispconfig dir: Code: drwxr-x--- 19 www-data www-data 4.0K Aug 29 17:03 /usr/local/ispconfig/interface/web/ Please help I have been searching all over the web and I can't seem to find a resolution to this issue. I have also tried Code: apt-get install apache2-suexec to see if that would help but I keep getting the following error: Code: AH01276: Cannot serve directory /var/www/: No matching DirectoryIndex (index.php,index.html,index.cgi,index.pl,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive Thank you for your assistance!
Well I have a change (I guess it's progress). I ran: Code: a2enmod suexec And now instead of loading the index.php it displays the index.php in plain text. If anyone has a solution to this I would greatly appreciate it!
I added: Code: AddType application/x-httpd-php .php To the vhost file and now it's displaying a blank page...
Well I am now receiving an internal server error. I uninstalled completely using Code: php -q uninstall.php and then reinstalled again. Here is the error(s) I am receiving: Code: [Fri Aug 29 22:52:08.132471 2014] [fcgid:warn] [pid 2745] (104)Connection reset by peer: [client x.x.x.x:49943] mod_fcgid: error reading data from FastCGI server [Fri Aug 29 22:52:08.132554 2014] [core:error] [pid 2745] [client x.x.x.x:49943] End of script output before headers: index.php
Seems as if you did not follow the ispconfig installation instructions to install your server as all things you struggled about are installed in that guide: http://www.howtoforge.com/perfect-s...2-php-mysql-pureftpd-bind-dovecot-ispconfig-3 This gudie describes the system requirements for ispconfig, so if you did not follow it or left out a step, then your server wont fully work.