Please help - Apache problem

Discussion in 'Installation/Configuration' started by atrik_Pr, Nov 9, 2005.

  1. atrik_Pr

    atrik_Pr New Member

    hey there, :rolleyes:

    I have a problem with my apache2 virtual domain feature
    for some reason non of my sites work, i mean i can ping them
    and i can see that they resolve with my dns, but all the site point to the
    apache default directory /var/www/html
    i looked at the file /etc/httpd/vhosts/Vhosts_ispconfig.conf and all the domains are there.
    but for some reason i cannot find any include for the file in /etc/httpd/conf/httpd.conf file.

    Every help in these will be much appreciated

    Thanks. :confused:
     
  2. benbalbo

    benbalbo ISPConfig Developer ISPConfig Developer

    I imagine this should have been done by the ISPConfig installer.

    Do a quick check to see if the include exists using:

    Code:
    grep -iR Vhosts_ispconfig.conf /etc/httpd/
    If that doesn't bring anything up, stick this line at the end of your httpd.conf:

    Code:
    Include /etc/httpd/vhosts/Vhosts_ispconfig.conf
    Hope that works
     
  3. atrik_Pr

    atrik_Pr New Member

    Thanks alot for the quick reply.

    this is the output from the command :
    Code:
    grep -iR Vhosts_ispconfig.conf /etc/httpd/
    grep: /etc/httpd/run/named.pid: No such file or directory
    grep: /etc/httpd/run/acpid.socket: No such device or address
    grep: /etc/httpd/run/dbus/system_bus_socket: No such device or address
    
    i tried adding the the Include line at the end of httpd.conf and this is what is says :

    Code:
    Stopping httpd:                                            [  OK  ]
    Starting httpd: Warning: DocumentRoot [/home/www/web1/web] does not exist
    Warning: DocumentRoot [/home/www/web2/web] does not exist
    
    i checked the location of the directories and it seems fine,
    also i have checked the directorys permission and nothins seems to help

    Any ideas ?
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Is it possible that you have installed two Apaches, Apache1.3.x and Apache2.0.x at the same time? I guess ISPConfig bound itself to Apache2, whereas it seems that you use Apache1...
     
  5. atrik_Pr

    atrik_Pr New Member

    as for my understanding ispconfig installes apache 1.3 for its Managment
    and the Virtual hosting is done by the Apache 2.0

    i mean i can stop my Apache 2.0 and yet i can enter The Isp managment
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    No, I'm not talking about the ISPConfig Apache. I mean did you install two main Apaches (Apache 1.3 and Apache 2.0)?
     

Share This Page