Debian Question II

Discussion in 'Installation/Configuration' started by AngelDrago, Oct 26, 2005.

  1. AngelDrago

    AngelDrago Member

  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    If you don't need the default Apache web site in Debian then you can simply run
    Code:
    rm -f /etc/apache2/sites-enabled/000-default
    /etc/init.d/apache2 restart
     
  3. AngelDrago

    AngelDrago Member

    Danke falko.. did the above as you suggested but sti no go with webpages here is a output of my httpd -V
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D HTTPD_ROOT=""
    -D SUEXEC_BIN="/usr/lib/apache2/suexec2"
    -D DEFAULT_PIDLOG="/var/run/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="/var/run/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
    -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
    and a directory listing of my path...
    ur:/# cd var
    ur:/var# dir
    backups cache lib local lock log mail opt run spool tmp www
    ur:/var# cd www
    ur:/var/www# dir
    apache2-default web1 webalizer www.mydomain.com
    ur:/var/www# cd web1
    ur:/var/www/web1# dir
    cgi-bin log Maildir phptmp ssl user web
    ur:/var/www/web1# cd web
    ur:/var/www/web1/web# dir
    error index.html info.php
    ur:/var/www/web1/web# httpd -V

    all seems to be looking good but i do not see my pages to be dispalyed at all...
    any ideas on what i can do from here on??

    Thank you again for the help..
    AngelDrago
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Please check the ISPConfig log for errors.

    /home/admispconfig/ispconfig/ispconfig.log

    Especially for errors where the httpd -t test failed.
     
    Last edited: Oct 26, 2005
  5. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please post the output of
    Code:
    ls -l /etc/apache2/sites-enabled/
     
  6. AngelDrago

    AngelDrago Member

    here is the output...

    ur:~# ls -l /etc/apache2/sites-enabled/
    total 0
    ur:~#
    hmmm i realy do not know what i'm looking for here... but if i understanded it right i have no sites on my server...

    Thank you,
    AngelDrago
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    No, that means that the default Apache web site isn't available any longer, you know, that placeholder page you see when you access Apache the first time after installation. It's configuration is located in /etc/apache2/sites-enabled/, and it is served from /var/www.
    To me it looked like this placeholder page was interfering with the ISPConfig web sites because you had to type http://www.mydomain.com/web1/web/ to access web1.
    Your ISPConfig web sites configuration should be in /etc/apache2/vhosts/Vhosts_ispconfig.conf.
     

Share This Page