Re: [ProgSoc] #execs

Tony Young (tony@nospam.progsoc.uts.edu.au)
Wed, 21 May 1997 09:39:47 +1000 (EST)


In the wise words of Peter Lees:
:
:Adam Greaves wrote...
:>
:> Can anyone suggest a reason why I can't get a cgi to run with the
:> following line:
:>
:> <!--#exec cgi="../cgi-bin/visits.cgi" -->
:>
:> There is no error recorded in the web logs, and the document source shows
:> the directive...
:
:
:you can't use relative paths in that way (to go up). you will have to use a
:full virtual path eg:
:
:<!--#exec cgi="/~blah/cgi-bin/visits.cgi"-->
:
:i guess it's a security thing.
:

I've found that this doesn't work either.
I had to make soft links in the current dir back to the actual cgi-bin dir.

btw ... this goes for any SSI's I think, not just #exec. ie #include suffers too.

Tony...

------------------------------------------
Tony Young tony@nospam.ir.com.au
Integrated Research tony@nospam.progsoc.uts.edu.au
North Sydney, Australia http://www.progsoc.uts.edu.au/~tony
------------------------------------------

You will always get the greatest recognition for the job you least like.

--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.