Aliases in cgis

andu undo at cloud9.net
Sat Oct 26 19:16:01 EDT 2002


--On Saturday, October 26, 2002 17:28:27 -0500 "J. Landman Gay" 
<jacque at hyperactivesw.com> wrote:

> On 10/26/02 4:55 PM, andu wrote:
>
>> Not sure what server you are using but for Apache there is a config file
>> directive:
>
> Yes, Apache.
>
>> ScriptAlias /cgi-bin/ "/my-directory/cgi-bin/"
>>
>> <Directory "/my-directory/cgi-bin">
>>        AllowOverride None
>>        Options None
>>        Order allow,deny
>>        Allow from all
>>    </Directory>
>>
>> which is meant to do what you want. The <Directory></Directory> allows
>> for other options as well. BTW, make sure you understand the difference
>> between an alias and a [sym]link since they are not the same. Hope this
>> helps.
>
> I found this already set up in the config file. The note in there about
> scriptalias basically says it allows you to set a different cgi folder,
> but all I want is a file alias. There is a similar configuration for
> plain aliases -- maybe I need to set that?
>
> I don't know much about this, but it seems important that the file will
> be opened by MC and not by the server. When an MC script starts using a
> stack, does the server config file even matter? The request isn't coming
> in over the network when that happens.

So you want to have the stack at hand not the cgi script? Make sure you 
have the correct path to the stack and it should work. The only other thing 
that comes to mind is, you might need an engine where the stack is...

>
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac



More information about the metacard mailing list