apache help,

Discussion in 'Installation/Configuration' started by layla, Oct 22, 2006.

  1. layla

    layla New Member

    i have my sites on and am getting the apache test page, how do i change this so i see my sites and so that it is the ftp i loadup for easy uploaad, it has almost sertainly been askes a million times buthelp would be good,
    layla
     
  2. KenKnight

    KenKnight Member

    It sounds like your virtual hosts are not configured. Which howto did you follow. If it was a debian flavor, look in the /etc/apache2/vhosts directory and examine the Vhosts_ispconfig.conf to make sure you see your various domains listed in there.

    If it was a redhat based, then look beneath /etc/httpd/conf/ for a Vhosts_ispconfig.conf file and examine it in the same manner.

    Cheers!
    Ken
     
  3. layla

    layla New Member

    it was fedora 5 and my sites are on but not picking up the actual index page you could have a look if you dont mind maybe it will help to point me in the right direction
    www.stiffmiddlefinger.com
    help would be nice if you dont mind
     
  4. layla

    layla New Member

    here is part of my config for virtual host in apache for www.freeuniquemusique.com
    Vhost: www.freeuniquemusique.com:80
    ######################################
    #
    #
    <VirtualHost 192.168.0.101:80>
    ServerName www.freeuniquemusique.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web7/web/
    ServerAlias freeuniquemusique.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    ScriptAlias /cgi-bin/ /var/www/web7/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web7/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    <Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    php_admin_flag safe_mode Off
    Alias /error/ "/var/www/web7/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
    </VirtualHost>


    can anyone help to tell me why it will not show the webpage and why it wioll only show fedora test page?
    please help
     
  5. KenKnight

    KenKnight Member

    Hi,

    I compared it to some of mine and it looks fine. My guess is the problem is related to a preceeding configuration statement. Make sure you have something like the following at the top of your Vhosts_ispconfig.conf;
    Along with the following in the apache2.conf file;

    Cheers!
    Ken
     
  6. layla

    layla New Member

    my config file is the same, anyother ideas
     
  7. KenKnight

    KenKnight Member

    do you get any errors when you issue a;

    Cheers!
    Ken
     
  8. layla

    layla New Member

    no i didnot apear to get any errors on the apache restart, but still cannot get the page itsself to load i think that i am getting a file directory directory
     
  9. falko

    falko Super Moderator Howtoforge Staff

  10. layla

    layla New Member

    i use the control panal to create sites and have tried the ftp to load up, but will try again i hope that i works
     
  11. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ifconfig
    ?
     
  12. layla

    layla New Member

    hi, im having a fer problems with virtual hosting
     
  13. edge

    edge Active Member Moderator

    layla,

    I really sugget getting payed help for your server setup!

    You are having so much problems with your setup! (like DNS, and now Apache)

    Ask Till or Falko if they want to do it for you. They are good, and not expensive at all, and with a bit of luck you will have a nice setup within 30 minutes!

    When it's fixed, DO NOT touch any file on the system, and I can guaranty you that it will run nice!
     

Share This Page