Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th March 2013, 06:47
bullet bullet is offline
Junior Member
 
Join Date: Mar 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default opensuse 12.2 perfect server add a website, php fails

I've been pouring over any and all docs I can find, I've download ispconfig docs and can't figure out what is going wrong here.

I just installed the perfect server OpenSUSE 12.2 x86_64 Apache2, Dovecot, ISPConfig 3.0.5.1

As soon as I add a 'website' all php scripts stop running and just download to the browser. Also, the virtual websites don't work they all go to the same site. I am accessing them with a dns name and not a IP address.

I've reinstalled this 3 times now trying things out and I'm at a loss. Am I missing something obvious?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 13th March 2013, 12:06
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,505
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Which errors do you get in the apache error.log?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th March 2013, 13:36
bullet bullet is offline
Junior Member
 
Join Date: Mar 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

With no 'websites' both phpmyadmin and squirrel mail function as expected. I just added now a new 'website', tried to connect to pypmyadmin and now all I get is the 'php' script downloaded in my browser it no longer executes:

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* forms frameset
*
* or common.inc.php
* @package PhpMyAdmin
*/

No errors in /var/log/apache2/error.log when this occurs. As soon as I added this website I got these:

[Wed Mar 13 08:25:01 2013] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed Mar 13 08:25:02 2013] [notice] caught SIGTERM, shutting down
[Wed Mar 13 08:25:02 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Mar 13 08:25:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Wed Mar 13 08:25:02 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Mar 13 08:25:02 2013] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Wed Mar 13 08:25:02 2013] [notice] mod_python: using mutex_directory /tmp
[Wed Mar 13 08:25:02 2013] [notice] FastCGI: process manager initialized (pid 24494)
[Wed Mar 13 08:25:02 2013] [notice] Apache/2.2.22 (Linux/SUSE) mod_ssl/2.2.22 OpenSSL/1.0.1e PHP/5.3.15 mod_fcgid/2.3.6 DAV/2 mod_python/3.3.1 Python/2.7.3 mod_fastcgi/2.4.6 configured -- resuming normal operations

Also, all night long I was getting these:

[Wed Mar 13 04:55:01 2013] [error] [client ::1] Directory index forbidden by Opt
ions directive: /srv/www/htdocs/
[Wed Mar 13 05:00:01 2013] [error] [client ::1] Directory index forbidden by Opt
ions directive: /srv/www/htdocs/
[Wed Mar 13 05:05:01 2013] [error] [client ::1] Directory index forbidden by Opt
ions directive: /srv/www/htdocs/

This was with no accessing anything and no 'websites' created.
Reply With Quote
  #4  
Old 13th March 2013, 14:35
bullet bullet is offline
Junior Member
 
Join Date: Mar 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK, I just added wordpress from control panel to this new website and it's working. So am I wrong thinking phpmyadmin and squirrel mail should function on added websites?

The other issue with all virtual websites going to a single website, is there some setting I'm missing with this?
Reply With Quote
  #5  
Old 13th March 2013, 14:56
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,505
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Quote:
The other issue with all virtual websites going to a single website, is there some setting I'm missing with this?
ensure that you access the websites by domain name and that you do not mix * and ip addresses in websites as IP is alwyas a stronger match in apache then a wildcard.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 13th March 2013, 15:01
bullet bullet is offline
Junior Member
 
Join Date: Mar 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I'm accessing the websites via a name, not an IP address. There is but a single ip address set on this server. So, all 'websites' have * set.

What about the phpmyadmin and squirrel mail? Shouldn't they function with the new websites?

Also, I just went to the 'website' from windows xp and ie 8, I get this when opening website/webmail,


MIME Type: application/x-php

Description: UnKnown

Windows does not recognize this MIME type.

I just deleted all the added 'websites' in isp control panel and squirrel mail now functions from windows xp and ie 8

http://foxconn/webmail/src/login.php

works as expected.

So, from reading the docs both squirrel mail and phpmyadmin should both work when I add new websites. What could be going wrong?
This is a straight up, clean install of 'perfect server'

It makes no sense that 'virtual' websites fail and the oddity with the php scripts.

Thanks
Doug

Last edited by bullet; 13th March 2013 at 19:48.
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
Virtual Users+Postfix+Courier+CentOS problem telnet localhost 25 stinson HOWTO-Related Questions 11 5th February 2011 13:57
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 12:58
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 17:02
cacti problem - graphs have huge gaps Chip Installation/Configuration 7 7th February 2008 23:24
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 16:50.


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