print "return to our <A HREF=\"/\">home page</A>, if you want.<P>";
This almost works except that the resulting page has an awkward url:
http://cgi.www.veganline.com which I do not understand.
The help file suggests change to
/docs/www.yourdomain.co.uk/your-file
or
/docs/www.veganline.com/index.htm I suppose, but my guestimated
attempts, even uploaded in ASCII as Demon suggest, lead to the "server
error" response.
Can someone who knows Perl let me in on the secret? Could you give an
example of what works, or a clue as to how to adapt it?
If so, thanks very much.
john
--
http://www.veganline.com - John Robertson - v...@animal.nu
Freepost LON 10506, London SW14 1YY 0800 458 4442 fx 020 8286 9947
the cgis are stored under a different host name (the cgi.www.blah...).
what you need to do is refer back to the full URL of your site:
print 'return to <a href="http:\/\/www.veganline.com/\">home page</a>.';
(and using ' to quote the string avoids having to quote each '"')
--
michael
>Hullo all: I know nothing of Perl, except this:
>Demon's mail script refers back to the homage like this:
>
>print "return to our <A HREF=\"/\">home page</A>, if you want.<P>";
That should refer back to the root of the site that called the script,
ie creating an anchor using an absolute reference within the site of
"/"
>This almost works except that the resulting page has an awkward url:
>http://cgi.www.veganline.com which I do not understand.
>
>The help file suggests change to
>
>/docs/www.yourdomain.co.uk/your-file
>or
>/docs/www.veganline.com/index.htm I suppose, but my guestimated
>attempts, even uploaded in ASCII as Demon suggest, lead to the "server
>error" response.
>
>Can someone who knows Perl let me in on the secret? Could you give an
>example of what works, or a clue as to how to adapt it?
>If so, thanks very much.
If it's case of changing the cgi, then maybe:
<A HREF=\"/\">home page</A>
needs to be changed to something like:
<A HREF=\"http://www.veganline.com/index.htm\">home page</A>
Rgds
Denis
--
Denis McMahon / +44 7802 468949 / de...@pickaxe.net
sulfnbk is not a virus, see the symantec virus encyclopaedia!
Now restocking killfile, new entrants welcome: trolls, spam,
xpost cascades, OT ads, top posters & terminally clueless!