#1  
Old 7th February 2007, 20:11
rseoane rseoane is offline
Junior Member
 
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 8th February 2007, 09:26
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

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?
Reply With Quote
  #3  
Old 8th February 2007, 10:50
rseoane rseoane is offline
Junior Member
 
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 8th February 2007, 13:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,355
Thanks: 810
Thanked 5,174 Times in 4,056 Posts
Default

What is the content of your Vhost_ispconfig.com file?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 8th February 2007, 14:13
rseoane rseoane is offline
Junior Member
 
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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>
#
#
#
Reply With Quote
  #6  
Old 8th February 2007, 20:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

What's the output of
Code:
ifconfig
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 9th February 2007, 19:33
rseoane rseoane is offline
Junior Member
 
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #8  
Old 10th February 2007, 20:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 10th February 2007, 21:42
rseoane rseoane is offline
Junior Member
 
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #10  
Old 11th February 2007, 12:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,355
Thanks: 810
Thanked 5,174 Times in 4,056 Posts
 
Default

You must select your internal IP address for the website and your external IP address for the SOA record in the DNS manager.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
Slightly Confused (DNS & Server Help) JohnnyBGoode Installation/Configuration 26 14th August 2007 09:54
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 15:55
VirtualHosts marra87 General 9 12th September 2006 04:09
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58


All times are GMT +2. The time now is 17:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.