Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Apache webserver problem


    We are using Redhat Linux Enterprise edition 4 with Oracle DB and using Apache to run our application.

    The problem is when the webserver starts during the booting, the webpage does not load, but when I stop and start the webserver manually the webpage loads without any problems

    The command I am using to start the webserver is

    httpd -k start and httpd -k stop

    this is what i have in the httpd.conf file

    <VirtualHost *:80>
    DocumentRoot /app/pace/epace/
    ServerAdmin email
    ServerName server
    ServerSignature email
    DirectoryIndex index.php index.html default.htm index.htm index.shtml
    ScriptAlias /epace-cgi/ "/app/pace/epace/cgi/"
    <Directory "/app/pace/epace/">
    Options all
    AllowOverride none
    # Include /etc/samba/lmhosts
    LogLevel warn
    HostNameLookups off

    What could be the problem, please help


  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    Are you using the right commands to start and stop your service? I thought the correct command was 'service httpd stop' and 'service httpd start'? It is on CentOS and Fedora, both derived from this version of Linux. That's an aside, though.

    Try putting your <Directory...>...</Directory> directive outside the <VirtualHost...>...</VirtualHost> block, as it should probably apply to the server.

    Also check your /etc/httpd/conf.d directory, there may be some definitions in there that override, supersede or otherwise change your virtual host settings.
    Linux user #126863 - see

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts