You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by joel grimes <jo...@hotmail.com> on 2002/09/01 17:28:21 UTC
[users@httpd] Redhat Generated httpd.conf
I have two (beginner) questions about httpd.conf that is generated by RH
7.3's apache configuration program.
1. The apache configuration tool doesn't respect my document types. If I
give it a list, say "index.php, index.htm, index.html" in the conf program
for a specific virtual host, save it (at which time it warns me it's going
to overwrite a manually configured file) and then check the generated
httpd.conf - there's no DirectoryIndex directive for the virtual host in
question - in fact it removes the existing one. What's the deal there?
2. I seem to have aquired duplicate <Directory> entries:
First one - near the top
><Directory "/var/www/cgi-bin">
> Options ExecCGI
>
> AllowOverride None
> Allow from all
>
> Order allow,deny
></Directory>
Second one at the bottom
><Directory "/var/www/cgi-bin">
> AllowOverride None
> Options ExecCGI
> Order allow,deny
> Allow from all
></Directory>
Any reason I couldn't just remove 1?
Thanks
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Redhat Generated httpd.conf
Posted by "i.t" <i....@ithum.de>.
> > I have two (beginner) questions about httpd.conf that is generated by RH
> > 7.3's apache configuration program.
> >
> > 1. The apache configuration tool doesn't respect my document types. If
> > I give it a list, say "index.php, index.htm, index.html" in the conf
> > program for a specific virtual host, save it (at which time it warns me
> > it's going to overwrite a manually configured file) and then check the
> > generated httpd.conf - there's no DirectoryIndex directive for the
> > virtual host in question - in fact it removes the existing one. What's
> > the deal there?
>
you're better off with editing the httpd.conf manually. Just make a copy of
httpd.conf to httpd.conf.orig - make your changes - and test
/usr/sbin/httpd -T
Syntax OK
> > 2. I seem to have aquired duplicate <Directory> entries:
> >
> > First one - near the top
> >
> > ><Directory "/var/www/cgi-bin">
> > > Options ExecCGI
> > >
> > > AllowOverride None
> > > Allow from all
> > >
> > > Order allow,deny
> > ></Directory>
> >
> > Second one at the bottom
> >
> > ><Directory "/var/www/cgi-bin">
> > > AllowOverride None
> > > Options ExecCGI
> > > Order allow,deny
> > > Allow from all
> > ></Directory>
> >
> > Any reason I couldn't just remove 1?
you can
--
_ ___
| | Irmund Thum
| |
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org