httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "i.t" <...@ithum.de>
Subject Re: [users@httpd] Redhat Generated httpd.conf
Date Mon, 02 Sep 2002 06:00:42 GMT

> > 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


Mime
View raw message