#1  
Old 22nd April 2009, 20:17
Cracklefish Cracklefish is offline
Member
 
Join Date: Mar 2009
Posts: 95
Thanks: 8
Thanked 3 Times in 3 Posts
Default Apache problem

I must hold the world record for installs of suse11.1/perfect server/ispconfig3 but still I can't get apache to work properly

After install ispconfig loads as does phpmyadmin and squirrelmail. I an add clients and mailboxes and all is ok. If I add a website I can open its pages but I loose access to phpmyadmin and squirrelmail. Disabling the site has no effect but deleting it gives me back phpmyadmin and squirrelmail.

If I add a second website any call to that opens the index page of first site.

I am using domain registrars DNSs.
Reply With Quote
Sponsored Links
  #2  
Old 22nd April 2009, 23:10
tebokkel tebokkel is offline
Member
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 96
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Sounds to me you might have one VirtualHost to much in the Apache-config you got with your distribution.. Does the command
apache2ctl configtest
give warnings about overlapping (name)virtualhosts?
I could very well be wrong about this.. ;-)

Paul
Reply With Quote
The Following User Says Thank You to tebokkel For This Useful Post:
Cracklefish (23rd April 2009)
  #3  
Old 23rd April 2009, 12:40
Cracklefish Cracklefish is offline
Member
 
Join Date: Mar 2009
Posts: 95
Thanks: 8
Thanked 3 Times in 3 Posts
Smile I've finally got it to work...

No but thanks for the tip about apache2ctl. It has saved me from slashing my wrists as I'd run out of hair to tear out.

Revitalised for another days hacking I think I have now managed to get it to work but I had to make some changes.

I have added another vhost file in sites available and a symlink to it in sites enabled.

I get no error messages from apache2 or apache2ctl, I can access ispconfig, phpmyadmin and squirrelmail and all the websites I create.

I have also put an index file in srv/www/htdocs just for the hell of it. I'll take it out if somebody gives me a good reason.

Code:
NameVirtualHost *:80

<VirtualHost _default_:80>
    DocumentRoot /srv/www/htdocs
  
    ServerName golf1.greenway.co.uk
    ServerAdmin webmaster@localhost

    <Directory /srv/www/golf1.greenway.co.uk>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit
        Order allow,deny
        Allow from all
        <Files ~ '.php[s3-6]{0,1}$'>
            Order allow,deny
            Deny from all
            Allow from none
        </Files>
    </Directory>
    
</VirtualHost>
Incidentally, I don't know if this is significant but the <!--ADDRESS//--> and <!--SUPPORT//--> tags in index.html don't work.

Perhaps somebody could tell me if this is a bodge a bugfix or have I just added something that got lost!
Reply With Quote
  #4  
Old 23rd April 2009, 23:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Cracklefish View Post
Incidentally, I don't know if this is significant but the <!--ADDRESS//--> and <!--SUPPORT//--> tags in index.html don't work.
These are just comments inside the HTML source code.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
Cracklefish (24th April 2009)
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
ISPConfig Squid or Apache - Where is my problem toolswizard Installation/Configuration 1 5th March 2009 10:54
Apache Mod_Proxy Problem joelee Server Operation 1 23rd May 2008 11:54
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
ISPConfig, Apache, encodings and charsets problem... erebus Installation/Configuration 1 26th September 2007 12:50
UI Problem with additonal Apache directives tstich General 3 3rd November 2005 14:11


All times are GMT +2. The time now is 20:40.


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