[NTLUG:Discuss] Apache in RH7.3
Cliff - NTLUG
ntlug at pervy.custard.org
Mon Jul 8 15:49:40 CDT 2002
Everyone has pretty much told you where the documentroot is located by
default, but here is a listing of everything you should need to know
PS - make sure you have upgraded apache due to recent hole in apache. If you
are using mod_ssl you may be concerned as well, redhat have not yet released
a new mod_ssl package for the recent hole involving .htaccess files.
http://rhn.redhat.com/errata/rh73-errata-security.html
modssl advisory giving details
http://online.securityfocus.com/advisories/4254
main apache binary is /usr/sbin/httpd
main conf dir is /etc/httpd/conf/
modules are in /usr/lib/apache/ - sim link /etc/httpd/modules points to
this location.
document root /var/www/html
cgi-bin /var/www/cgi-bin
log files /var/log/httpd/
These are the defaults, of couse you can edit them within the httpd.conf
file and use your own prefured locations - or use a virtualhost statement.
Cliff.
----- Original Message -----
From: "Jim Williams" <jimw at linux-class.com>
To: <discuss at ntlug.org>
Sent: Monday, July 08, 2002 1:35 PM
Subject: Re: [NTLUG:Discuss] Apache in RH7.3
> RedHat doesn't use the directory name "htdocs". They put everything in
> /var/www/html usually.
>
> travis.farral at nokia.com wrote:
>
> > It *should* be under /var/www/
> >
> >
> >
> > -----Original Message-----
> > From: ext Paul Ingendorf [mailto:pauldy at wantek.net]
> > Sent: Sunday, July 07, 2002 10:40 PM
> > To: discuss at ntlug.org
> > Subject: RE: [NTLUG:Discuss] Apache in RH7.3
> >
> >
> >
> > grep -i Documentroot /etc/httpd/conf/httpd.conf | sed -e "s/#.*//g" |
sort | uniq
> >
> > This should spit out the directory were the html documents are located.
Replace the /etc/httpd/conf/httpd.conf with your conf file if it is in a
different place.
> >
> >
> >
> > -----Original Message-----
> > From: discuss-admin at ntlug.org [mailto:discuss-admin at ntlug.org]On Behalf
> > Of dmyhand at cox-internet.com
> > Sent: Sunday, July 07, 2002 9:37 PM
> > To: discuss at ntlug.org
> > Subject: [NTLUG:Discuss] Apache in RH7.3
> >
> >
> > Can someone tell me where Apache is placed in RedHat 7.3? I have the
bin, and the conf file, but I need to edit the files that are found in
htdocs, and that is the directory I cannot find. TIA, Dennis in Victoria
> >
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
> >
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
> >
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Jim Williams
> RHCE, CCNA, MCSE+I
> Contract Systems Administrator &
> Certified Technical Instructor
> S.Florida: 954.558.2807
> Dallas/Ft.Worth: 214.557.3626
> Break Out of the Windows Box!
> Explore the possibilities of Open Source Software.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list