mod_rewrite looks like it will be the correct way to go in the future, but a
half dozen Alias got the site working again quickly.

I thought that Alias was only good for aliasing directories. It can be used
for individual files.

For future reference, using my example:
http://url/calendar/month/042003.htm
where month was really month.pl, the command is 
Alias /calendar/month/ "/opt/apache/htdocs/calendar/month.pl/"

Remember to use the final / in both sides.


Much thanks to Magnus, Perrin, and Robert for their quick responses.

-Bruce Kives



-----Original Message-----
From: Perrin Harkins 
Subject: Re: Hiding the .pl

KIVES,BRUCE (HP-USA,ex1) wrote:
> Any other ideas on how to hide the .pl ?

There are dozens of ways to make /calendar/month run month.pl.  Here are 
some simple ones:

- mod_rewrite
- Alias
- DirectoryIndex month.pl

You could also turn month.pl into a handler and just do this:

<Location /calendar/month>
    SetHandler  perl-script
    PerlHandler Month
</Location>

- Perrin

Reply via email to