default file & webservers

Mark Peoples gascsd@gascairlines.com
Sat, 23 Sep 2000 09:04:42 -0700


My guess is for S&G.

It's not hard to use three files though. In your httpd.conf, look for the
lines below and uncomment them.

#ResourceConfig /etc/httpd/conf/srm.conf
#AccessConfig /etc/httpd/conf/access.conf

(I compiled with --sysconfdir=/etc/httpd/conf)

They did it for simplicity, which makes sense. It's probably easier to edit
just one file instead of multiple ones. But, I use each one for different
tasks... httpd.conf for apache-wide stuff (like loading modules),
access.conf for additional  VirtualHost and Directory tags, and finally
srm.conf for associations for parsing, eg, distinguish between php3 and
php4, etc etc.

Another reason I like having it split amongst multiple files too for
automated tools sake. It's easier to parse a file whose format I know
instead of having to skip over a bunch of junk to get where I want.

-----Original Message-----
From: plug-discuss-admin@lists.PLUG.phoenix.az.us
[mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of Mike
Starke
Sent: Saturday, September 23, 2000 8:27 AM
To: 'PLUG '
Subject: RE: default file & webservers


I am curious; why did they consolidate to one file? Security reasons?
I always liked the three files: made it easier to know where to go
when I had to tweak something.

Mike
mgcon@getnet.com
http://www.getnet.com/~mgcon
Phoenix, AZ
USA

On Fri, 22 Sep 2000, Mark Peoples wrote:

> In one of the config files, preferably httpd.conf as of 1.3.12:
>
> <IfModule mod_dir.c>
>     DirectoryIndex index.html index2.html index.htm index2.htm
> </IfModule>
>
> The reason I say with 1.3.12 is because the default httpd.conf that comes
> with 1.3.12 turns off the usage of access.conf and srm.conf. To use them,
> you have to uncomment a line in httpd.conf. If you are using anything
before
> 1.3.9 though, you should be fine. In other words, stick that, or modify
that
> (it's probably already in your config) in the config file that you use for
> most other Apache stuff.
>
> -----Original Message-----
> From: John Albee
> To: PLUG
> Sent: 9/22/00 5:13 PM
> Subject: default file & webservers
>
> How would I setup a site so instead of loading index.html for
> whateversite.com, it would load something like index2.html.  Also I need
> this to only effect one directory.
>
>
> Thanks,
> John Albee
>
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> post to the list quickly and you use Netscape to write mail.
>
> Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss