httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Bailey <idi...@netzero.net>
Subject Re: [users@httpd] Aliases and lots of them!
Date Fri, 13 Dec 2002 07:15:18 GMT
with a ln link. TO THE ENTIRE DIRECTORY.

Not an expert, read the manual.
ln (pathanditemlinkedto) (nametoshowupcurrentlyforthelink)




Warhurst, SI (Spencer) wrote:
> Hi
> 
> I run a Listserv mailing list server and currently the path to an individual
> list's archive page is:
> 
> http://www.somewhere.com/lists/mylist.html
> 
> What I want to do is make it so that all a user has to type is:
> 
> http://www.somewhere.com/mylist
> 
> 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?
> 
> Thanks
> 
> --
> Spencer Warhurst
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 


-- 

end

Respectfully,
              Kirk D Bailey


+---------------------"Thou Art Free." -Eris-----------------------+
| http://www.howlermonkey.net  mailto:highprimate@howlermonkey.net |
| KILL spam dead!      http://www.scambusters.org/stopspam/#Pledge |
| http://www.tinylist.org  +--------+   mailto:grumpy@tinylist.org |
+------------------Thinking| NORMAL |Thinking----------------------+
                            +--------+

---------------------------------------------
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.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


Mime
View raw message