At least I thing that this is the problem. I upgrade to lastest version without problems but now site don't work well. I see forums but I don't find a solution. Help, please. This is my test site: www dot cluxter dot com
Your document roots in the apache config seem to be hosed. You're also missing index.html (or another valid index file based on your directives). Also you're mime types are incorrect, because even plain html is not recognized. How and what did you upgrade exactly?
I ugrade from ispc 2.2.7 to 2.2.9 I have download ispconfig 2.2.9, unpack and execute ./setup Ubuntu 6.06 Html works fine. Files with .php are shown as text plain. http://w3.cluxter.com/web2/web/ and http://w3.cluxter.com/sharedip/ are .html
Code: ################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### NameVirtualHost 80.32.187.136:80 <VirtualHost 80.32.187.136:80> ServerName localhost ServerAdmin root@localhost DocumentRoot /var/www/sharedip </VirtualHost> # # ###################################### # Vhost: www.cevit.org:80 ###################################### # # <VirtualHost 80.32.187.136:80> ServerName www.cevit.org:80 ServerAdmin [email protected] DocumentRoot /var/www/web2/web ServerAlias cevit.org DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ErrorLog /var/www/web2/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php3> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php4> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php5> SetOutputFilter PHP SetInputFilter PHP </Files> php_admin_flag safe_mode Off AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddType application/vnd.wap.wmlscriptc .wmlsc .wsc AddType text/vnd.wap.wml .wml AddType text/vnd.wap.wmlscript .ws .wmlscript AddType image/vnd.wap.wbmp .wbmp Alias /error/ "/var/www/web2/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html rrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3 </VirtualHost> # # # ###################################### # Vhost: www.cluxter.com:80 ###################################### # # <VirtualHost 80.32.187.136:80> ServerName www.cluxter.com:80 ServerAdmin [email protected] DocumentRoot /var/www/web3/web ServerAlias www.cluxter.com DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web3/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web3/log/error.log AddHandler application/x-httpd-php .php .php3 .php4 .php5 <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php3> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php4> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php5> SetOutputFilter PHP SetInputFilter PHP </Files> php_admin_flag safe_mode Off AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddType application/vnd.wap.wmlscriptc .wmlsc .wsc AddType text/vnd.wap.wml .wml AddType text/vnd.wap.wmlscript .ws .wmlscript AddType image/vnd.wap.wbmp .wbmp Alias /error/ "/var/www/web3/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3 </VirtualHost>liasMatch ^/users/([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3 </VirtualHost> # # #
I see that IP in ifconfig was 192.168.0.1. I change ispconfig ip but without luck. Then I tried to uninstall and reinstall ispc. Finally I've delete all and start again. I think that I try to upgrade ispconfig unpacking 2.2.9 over 2.2.7 and perhaps that's wrong. Thanks. I hope to have more luck next time.
Then you used the wrong IP address in ISPConfig. You must use 192.168.0.1, not 80.32.187.136. You can change the IP address under Management -> Server -> Settings, and afterwards go to each web site in ISPConfig and select the new IP address for each.
I already change ip on ISPConfig. But if I select local ip for ip domain soa, this could'n be reachable from internet, ¿isn`t it?
You must select your internal IP address for the website and your external IP address for the SOA record in the DNS manager.