problem with apache or whm !!

neon

Registered
Nov 21, 2001
3
0
301
hi, yesterday, my apache on my server failed and when i try to restart it through whm it didn\'t work. then i did some r&d and found
there was problem with SSL. when tried starting apache manually it shown me this errors

--------------
Warning: DocumentRoot [/home/budavari/public_html/babor] does not exist
Syntax error on line 4515 of /usr/local/apache/conf/httpd.conf:
Invalid command \'SSLVerifyClient\', perhaps mis-spelled or defined by a module no
t included in the server configuration-
-------------

then i marked # all SSLVerifyClient related entries in httpd.conf and restarted apache and this time it started. but ssl stop working. after lots of research and testings i found that mod_ssl was not geting included in
-----
#<IfDefine SSL>
AddModule mod_ssl.c
#</IfDefine>
--------
then when i comment if condition it started working.

now when i try to restart apache through WHM it give me following error

-----------
Not Found

The requested URL /server-status was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
_________________________________________________________________


Apache/1.3.20 Server at xxxxxxxxx.xxxxxx.com
Port 80
----------------

i receive same error from telnet too.

i have server at 2 different providers all using cpanel and i am getting this error on both servers. so i guess this has something to do with your guys (c panel programmers) so i thought before emailing my providers i should post here.

thanks.
- mahinder.

p.s.: i learned allot while finding problem :)


[Edited on 11/21/01 by neon]
 

indiboi

Well-Known Member
Aug 14, 2001
89
0
306
you just need to uncomment the bits about server status in the httpd.conf and provide your server\'s name in that setup.

<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from name.yourserver.com
</Location>