Web Hosting Talk







View Full Version : Http files not behaving as they should


Burger
10-05-2001, 06:50 AM
I installed mysql and php package to my raq3 server. After that I rebooted and the server worked fine. But later when I was going to add another viritual site through the control panel, I got a strange error. I tried several times, but it wouldnt work. Then I closed my control panel. When I tried again , the browser could not find my server, but I could still login as shell.

It seems like my http files are not behaving as they should:

[root /root]# /etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd: [: =: unary operator expected
Shutting down Web Service:
[root /root]# /etc/rc.d/init.d/httpd start
/etc/rc.d/init.d/httpd: [: =: unary operator expected
Setting up Web Service: Syntax error on line 24 of /etc/httpd/conf/srm.conf:
Invalid command 'UserDir', perhaps mis-spelled or defined by a module not
included in the server configuration
/usr/sbin/httpd

I never touched this line (line 24) during the php/mysql installation.

Does anyone know how to fix this error? It would be very appriciated :)

Christian

mhosang
10-05-2001, 08:01 AM
try to comment this line....

#Line24....

...and try to start the server again...

ffeingol
10-05-2001, 11:00 AM
Or post the first 30 or so lines of srm.conf so we can see what the problem is.

Burger
10-05-2001, 08:08 PM
I have already tried the first thing (comment the line), but it did not work :(

But as soon as I get back my access to the server, i'll post the first 30 lines...