
7th February 2007, 20:11
|
|
Junior Member
|
|
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Php not work after upgrade
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
|

8th February 2007, 09:26
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 16 Times in 15 Posts
|
|
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?
|

8th February 2007, 10:50
|
|
Junior Member
|
|
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

8th February 2007, 13:23
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
What is the content of your Vhost_ispconfig.com file?
|

8th February 2007, 14:13
|
|
Junior Member
|
|
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 webmaster@cevit.org
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 webmaster@cluxter.com
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>
#
#
#
|

8th February 2007, 20:45
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
|

9th February 2007, 19:33
|
|
Junior Member
|
|
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

10th February 2007, 20:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
|
Originally Posted by rseoane
I see that IP in ifconfig was 192.168.0.1.
|
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.
|

10th February 2007, 21:42
|
|
Junior Member
|
|
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

11th February 2007, 12:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
You must select your internal IP address for the website and your external IP address for the SOA record in the DNS manager.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 17:53.
|
|
Recent comments
18 hours 41 sec ago
18 hours 6 min ago
23 hours 4 min ago
1 day 5 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 12 hours ago
1 day 18 hours ago
1 day 22 hours ago
2 days 15 min ago