Recent apache builds (from redhat) automatically include all *.conf files
in /etc/httpd/conf.d

I've found this to be pretty useful.

Skol Vikings!

Jim

----- Original Message ----- 
From: "Kelerion" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 16, 2003 7:37 PM
Subject: Re: Edit httpd.conf file


> I'm not sure it "blows it away" so much as alters it.. but I might be
> wrong... either way it has some include lines in there anyways so if it
> did blow it away you could always add the include into a file it doesn't
> wipe the include out.. if that makes sense.. look through the file and
> (if I recall correctly) there's a vhosts include line.. just copy/paste
> that and see if the GUI wipes it out.. if it does then simply move
> *your* include file into the vhosts.conf file..
>
> cheers
>
> Kel
>
>
> Mark Haney wrote:
>
> >Hey, if I can do that, that would be great.  But where/how would I add
> >that INCLUDE in there? If the GUI blows that file away, it wouldn't
stay
> >there.
> >
> >-----Original Message-----
> >From: Kelerion [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, July 16, 2003 1:02 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: Edit httpd.conf file
> >
> >
> >*chuckles* I made the exact same assumption with that file after using
> >the GUI and then looking at the file directly... the GUI seems to add a
> >few lines at the beginning of the file..
> >
> >there is something you can do about it overwriting the file though.. at
> >the end of the file add something like "include 'myhttpsettings.conf'"
> >(that might be the wrong syntax but it's the right idea... the GUI
> >shouldn't get rid of it and then you can (or your boss) edit
> >myhttpsettings.conf without messing around with the main config.. also
> >if it's a different domain he wants to play with then just give him
> >access to vhosts for that particular domain..
> >
> >hope that helps
> >
> >cheers
> >Kel
> >
> >
> >
> >
> >
> >Mark Haney wrote:
> >
> >
> >
> >>Boy, now I do feel like an idiot.  I can definitely say it's been a
> >>week's worth of Monday's so far.  Apparently in my httpd.conf there's
> >>probably 75-100 blank lines at the beginning of the file.  So,
> >>therefore it looked empty to me.  I'd like to apologize for being an
> >>moron. Maybe I should RTFM.  Either way, editing it by hand does me no
> >>good anyway, running the GUI configuration destroys any hand edited
> >>changes I might make, so I'll have to do it that way anyway.  Maybe
> >>I'll teach my boss vi instead.
> >>
> >>-----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
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
>
>
> -- 
> 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

Reply via email to