Re: Directory listings by cgi shell script

2004-09-10 Thread Alex'a X Spirit
On Thu, 9 Sep 2004 17:37:40 -0400, Lou Kamenov wrote:
>> Control {
>> Alias /
>> Location /usr/local/www
> -- add --
>Specials {
>  CGI { web_ls }
> }
> -- add --
>> }
>> 
>> => http://medieval/
>> 
>> it doesn't :(

> May be you didnt tell mathopd that this cmd is _a_ cgi?

That is! Thank you!

-Alex'a X Spirit-




Re: Directory listings by cgi shell script

2004-09-09 Thread Lou Kamenov
On Thu, 9 Sep 2004 15:08:37 +0300, Alex'a X Spirit <[EMAIL PROTECTED]> wrote:
> On Wed, 8 Sep 2004 23:56:42 -0400, Lou Kamenov wrote:
> I know that it works, but on exact path of Alias in Control section
> 
> Control {
> Alias /
> Location /usr/local/www
-- add --
   Specials {
 CGI { web_ls }
}
-- add --
> }
> 
> => http://medieval/
> 
> it doesn't :(

May be you didnt tell mathopd that this cmd is _a_ cgi?

If you want it globally defined put in the main Control { } section.

cheers,
lou


Re: Directory listings by cgi shell script

2004-09-09 Thread Alex'a X Spirit
On Wed, 8 Sep 2004 23:56:42 -0400, Lou Kamenov wrote:
> I tried you script on my mathopd and it worked  okay.
> I dont quite understand your problem, it provides readable listing in
> Firefox, Opera, Links -g,
> and Links hacked, on other side.

I know that it works, but on exact path of Alias in Control section

Control {
Alias /
Location /usr/local/www
}

=> http://medieval/

it doesn't :(

-Alex'a X Spirit-




Re: Directory listings by cgi shell script

2004-09-08 Thread Lou Kamenov
On Thu, 9 Sep 2004 02:38:58 +0300, Alex'a X Spirit <[EMAIL PROTECTED]> wrote:
> Hi, All
> 

Hey Alex'a,

I tried you script on my mathopd and it worked  okay.
I dont quite understand your problem, it provides readable listing in
Firefox, Opera, Links -g,
and Links hacked, on other side.

I for 1 prefer to do this in C, one i use is at:
http://feather.aeye.ca/users/lou/index/.

cheers,
l