PDA

View Full Version : exec cgi!



dony
May 11th, 2001, 12:39
hi.
anyone can explain why on f2s do not work this,
<!--#exec cgi="http://www.dony.f2s.com/cgi-bin/script.cgi" -->
it works good on another services like virtualave.
chmod is 755
but didnt suceeded in f2s and digitalrice.

meow
May 12th, 2001, 02:39
I may be wrong, and if I am I hope someone puts me right, but shouldn't the relative path be used?

Like for example
<!--#exec cgi="cgi-bin/myscript.pl" -->

Or possibly the absolute path?
<!--#exec cgi="/members/98776543210/cgi-bin/myscript.pl" -->

The www URL doesn't seem right.

fatman
May 12th, 2001, 06:18
meow is right. Moreover, not all of f2s' servers have SSI enabled, if any. I know they were testing it out before, though.

dony
May 12th, 2001, 08:05
Originally posted by meow
I may be wrong, and if I am I hope someone puts me right, but shouldn't the relative path be used?

Like for example
<!--#exec cgi="cgi-bin/myscript.pl" -->

Or possibly the absolute path?
<!--#exec cgi="/members/98776543210/cgi-bin/myscript.pl" -->

The www URL doesn't seem right.
thanks.
you absolutely right.the best ssi suport i have seen in virtualave and warfactory.com(which seem be dead).
but for the answer.meow did you sucessfully execute your scripts on f2s?
and what mean
<!--#exec cgi="/members/98776543210/cgi-bin/myscript.pl" -->
98776543210=this number is given to all members(diferent numbers)is it or?
thanks.
byez.

meow
May 12th, 2001, 14:45
Yes. I've ran some scripts there. At the moment I only have a form script, so there isn't much setup.

As far as I know SSI should work on all new servers.

I just invented the absolute path. ;) Log in to your account and you will find it at the bottom of one of the pages ("website" I think). They sometimes move accounts, so the path can change. I think I was wrong about using it for exec cgi though. But you may need it for other things in the scripts. It's in this format: /web/sites/123/YourID/www.you.f2s.com

BTW have you checked http://www.users.f2s.com out?