Redirect cgi
Redirect cgi
- Subject: Redirect cgi
- From: Simon Forster <email@hidden>
- Date: Wed, 25 Sep 2002 16:39:06 +0100
Being a little lazy, I was hoping that someone could point me to a
resource for writing AppleScript cgis to work with personal web sharing
under 9.2.x.
Painful detail: We're pulling our servers from their current co-lo back
to our office and, to ensure the least down-time, I want to leave a
machine at the co-lo facility to do a header redirect back to our
offices. This'll only be up for a week or so while DNS changes bite.
The complication is that I'll need to parse out the host field and
redirect to a different location depending on this field.
If someone's got a script fragment which I can hack quickly to do this,
it'd be much appreciated. I wrote an AppleScript cgi to mail a web page
to users but that was ages ago so I'm a little rusty on AppleScript and
cgis.
TIA
Simon Forster
_________________________________________________
BabelFix Ltd, Office One, 16 Canham Road, London, W3 7SR, UK
<tel int="+44 20 8746 0555" uk="020 8746 0555">
<tel int="+44 70 9230 5244" uk="070 9230 5244">
<fax int="+44 70 9230 5247" uk="070 9230 5247">
<
mailto:email@hidden>
_________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.