Re: [yapcom] Name of the CGI Script

[prev] [thread] [next] [lurker] [Date index for 2003/12/7]

From: Gabor Szabo
Subject: Re: [yapcom] Name of the CGI Script
Date: 21:23 on 07 Dec 2003
On Sun, 7 Dec 2003, Shlomi Fish wrote:

> There is no need to call the CGI script 2004 just because it is the last
> component of the path. Apache's ScriptAlias directive is capable enough to
> map it to something else. In my configuration I named the script yapc.pl
> (which can be constant across all distributions), and used the following
> directive to map it to /yapcom/:
>
> <<<
> ScriptAlias /yapcom/ /home/shlomi/progs/perl/yapcom/site/cgi/yapc.pl/
> >>>

You are right.
Actually in normal circumstances the installer will rename the script
whatever she wants or do what you suggested if she has access to the
Apache configuration. But I'd like to make sure that the code can work
even if the person installing it cannot change the Apache configuration.

Gabor


Generated at 15:50 on 10 Dec 2003 by mariachi 0.51