[OT] Advanced ln command use

Richard Taubo ort at bergersen.no
Tue Mar 4 04:09:43 PST 2008


Hi!

On 03/03/2008, at 10:48, Jared Earle wrote:

> On Fri, Feb 29, 2008 at 11:00 PM, Richard Taubo <ort at bergersen.no>  
> wrote:
>> 2) Domain directory
>>        /Web/Sites/www.mysite.com/cgi-bin -> /usr/local/myprogram
>>        /Web/Sites/www.mysite.com/myconfig.cfg
>
> Um, what's wrong with using the ScriptAlias in Apache? It's what  
> it's there for.

Thanks for the hint!

I can't see how this would solve my issue though, since my challenge  
was to keep one program folder but use many config files.
In addition, http://httpd.apache.org/docs/1.3/mod/mod_alias.html says  
the following:
	 " . . . The ScriptAlias directive has the additional effect of  
marking the target directory as containing only CGI scripts . . ."

So it really does not seem to apply to my situation.

For the record, I ended up with something like this instead, and using  
"real" files and directories for the config stuff:
	ln -s pathToMyCGI/* .

Not as unified as I wanted, but it does the job . . .


Richard Taubo


More information about the MacOSX-admin mailing list