httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warhurst, SI (Spencer) " <>
Subject [users@httpd] Aliases and lots of them!
Date Thu, 12 Dec 2002 12:07:55 GMT

I run a Listserv mailing list server and currently the path to an individual
list's archive page is:

What I want to do is make it so that all a user has to type is:

Now, that's dead easy with the line in http.conf:

Alias /mylist "e:/www/lists/mylist.html"

However, there are over 4,000 lists on our server which means rather alot of
Alias lines in http.conf, so my questions are:

1) Would that be a performance issue for Apache? Presumably it loads the
config into memory, so it would use up more memory, but our server has a gig
of memory and plenty spare so that shouldn't be a problem. What I am
wondering is if everytime a request is received by Apache, would it have to
check through 4,000+ aliases everytime and could that slow the server down?

2) I plan to keep this 4,000+ Alias list up to date by running a Perl script
every night that runs through every list on the server and creates an Alias
list and replaces the one currently in http.conf. However, that raises a
couple of further questions:

a) I would rather keep this list in a separate text file so that I'm not
having to actually modify http.conf. Is it possible to do this and have a
line in http.conf that points to the file so that it loads those aliases up?

b) Apache has to be restarted for changes in http.conf to take effect. This
is no problem in the middle of the night as my log cycling script stops &
restarts Apache anyway. However, apart from the nightly rebuild of the alias
list, I have a new-list script that will also need to add to the alias list
and that can be run at any time during the day when a restart is much less
desirable. Is a special type of config file that might solve all my problems
here and doesn't require a restart?


Spencer Warhurst

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message