Here's what I get when I 'locate httpd.conf'I would open a terminal in X and su - . Forget the explorer style file tree crap. Then drill for the httpd.conf file
[EMAIL PROTECTED] markh]# locate httpd.conf /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak /usr/share/apacheconf/httpd.conf.xsl /usr/share/apacheconf/httpd.conf.md5
-----Original Message-----
From: Jonathan Bartlett [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 12:11 PM
To: [EMAIL PROTECTED]
Subject: RE: Edit httpd.conf file
I have never used the GUI to configure httpd, in fact, I didn't know it existed. It really seems like you're mistyping something. What are the contents of :
ls -l /etc ls -l /etc/httpd ls -l /etc/httpd/conf
Jon
On Wed, 16 Jul 2003, Mark Haney wrote:
Yeah, I get that. The point is, when I vi the file it's blank. Even when apache is stopped. I get a [NOEOL] message at the bottom of vi. It's a bit aggravating that I can't apparently edit the .conf file without using X and the redhat-config-httpd app. Surely they intend on making CLI editing an option at some point right?
-----Original Message----- From: Kelerion [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 11:47 AM To: [EMAIL PROTECTED] Subject: Re: Edit httpd.conf file
when apache is installed you *should* get a ready made httpd.conf in either /etc/httpd.conf or /etc/httpd/conf/httpd.conf or similar... just need to tweak it for your config..
cheers
Kel
Mark Haney wrote:
Okay, how do I edit the apache configuration file running a headless server and SSHing to the box itself? The httpd.conf file is blank when
I vi it. I've not done much in the way of apache config in a long time, so it looks like I'm having to start over. Is it something easy?
-------------------------------------------- Jesus is coming - look busy!
Mark Haney Polk County Schools IT Staff/Technical Guru http://www.polk.k12.nc.us
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
cd /etc/httpd/conf
and type more httpd.conf
After the file displays, press v and the vi editor will take over the display. If you are not in root mode, your changes will not be saved and you will be in read-only mode. If that does not work, then something else is happening with the editor of choice. I like vi but pico will work as well.
Good luck!
-- Robert E Martin IT Manager Fishburne Military School [EMAIL PROTECTED] 540.946.7726
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list