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 ...
- 09-11-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 1
Apache webserver problem
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 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
</Directory>
# Include /etc/samba/lmhosts
LogLevel warn
HostNameLookups off
</VirtualHost>
What could be the problem, please help
Thanks
- 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/


Reply With Quote