Results 1 to 2 of 2
Hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-11-2008 #1
- Join Date
- Sep 2008
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
DirectoryIndex index.php index.html default.htm index.htm index.shtml
ScriptAlias /epace-cgi/ "/app/pace/epace/cgi/"
# Include /etc/samba/lmhosts
What could be the problem, please help
- 09-12-2008 #2
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 http://linuxcounter.net/