[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] RaQ4r - where is the httpd.conf file?



>At 05:01 PM 4/5/01 +0100, you wrote:
>
>>>Can this file be ftp'd up and down or must it be edited via Telnet?
>
>Don't know exact location of file on RaQ4 but will offer this
>suggestion..
>It has to be accessed as root, so you will not be able to
>edit/upload it
>via ftp..

Typically httpd.conf can be found at:
That's a fairly standard home for it across most Linux distro's
/etc/httpd/conf/httpd.conf

For the admin server (GUI), its httpd.conf (now talking
cobalt-very-specific!) is at:
/etc/admserv/conf/httpd.conf

I'm not sure I agree with ftp'ing the thing for a few reasons:
1. If you use a text editor like notpad, you run the risk of introducing
all kinds of control characters into the file. (You can't see 'em, but
trust me....they're there) so you'll wind up with junk that doesn't work
as advertised
2. If you accidentally choose "binary" on the download or upload (easy
to do) you can wind up with junk that doesn't work as advertised

Install ssh, login, su to root, make a copy of the file, and rename it
to something like httpd.conf.backup, fire up your favorite text
editor...(*whatever* that happens to be) and hand-hack that bad boy
until you achieve httpd.conf nirvana.

Don't forget to stop and restart httpd after making changes.

Good Luck!
-Colin