httpd missing?

Discussion in 'Installation/Configuration' started by Pasco, Dec 10, 2006.

  1. Pasco

    Pasco Member

    I have a very strange problem:

    I've installed ISPConfig on a Debian Server. But it seems the main httpd is not installed?! I can't find httpd.conf in /etc and if I try to access webpages it just outputs the php-code...

    Virtuals hosts don't work too...but ISPConfig Control Panel works so far. No errors at installation as I can see..

    What can I do?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The ISPConfig httpd is only used for the controlpanle backend and not for your websites.

    Your httpd.conf file under debian is /etc/apache/apache.conf, /etc/apache2/apache2.conf, /etc/apache/httpd.conf or/etc/apache2/httpd.conf
     
  3. Pasco

    Pasco Member

    OK, thanks a lot, I'm a debian newbie :)

    But now I have the next problem. PHP and my virtual hosts doesn't work...I have no clue what's the cause... :-(

    If I restart apache, I get following message:

    Forcing reload of web server: Apache2[Mon Dec 11 22:29:24 2006] [warn] NameVirtualHost 192.168.3.10:80 has no VirtualHosts
    [Mon Dec 11 22:29:24 2006] [warn] NameVirtualHost 192.168.3.10:80 has no VirtualHosts
    .

    PHP Websites are just shown as http docs...that means it just shows the php code..


    Do you have any idea, what's the problem?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you mean php websites that existed vefore you installed ISPConfig or sites you created in ISPConfig?
     
  5. Pasco

    Pasco Member

    I set up this debian 3.1 server from the bottom, it's a fresh installation. I tried to transfer the sites from another fedora core 4 ispconfig server. But I transfered all manually. I also did all the setup for resellers, clients, websites, ... manually. But virtual hosts doesn't work, that means, it just shows me the "shared ip site". And with php I don't know if it's an install problem since debian perfect setup....
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    If you get the shared IP page, then you selected the wrong IP address for the website in ISPConfig. If you are in a NAT enviroment behind a router, you must chose your internal IP.
     
  7. Pasco

    Pasco Member

    That's not the problem. It must be something due to my debian server...I've tried to reach my websites also from "outside" my network and the same errors appeared. But as I have Source and Destination NAT on my router it's also no problem to access them from "inside".

    I try to set up another debian server, perhaps it will help me. But I'm really not keen on do all the reseller/clients/websites entries again manually.. :-(
     
  8. edge

    edge Active Member Moderator

    I'm sure that you have enabled the "PHP Scripts:" option in ISPconfig > Basis .. right??
     

Share This Page