View Full Version : ApacheASP (Perl based script)

07-14-2004, 09:20 PM
Hi everyone,

I have been told that "Our servers only run ApacheASP at the moment which may only run Perl based script."

So how would I convert the following script so it will run on my server?

url=request.QueryString("link") 'set the variable url to the url query string
st=request.QueryString("st") 'set the variable st to the st query string

if st = 0 then 'check to see if st is equal to 0
response.Redirect(url) 'redirects the page to the url variable
elseif st = 1 then
response.Redirect("https://" & url)
else 'if st is equal to anything else
response.Redirect("/index.html") 'redirects to the home page if the st not equal to 0
end if

Thank you in advance,

Jon :cool:

07-14-2004, 09:32 PM
i think your going to have to do a google search for that,
most people don't use apacheASP,

u could try ASP2PHP,


for Apache::ASP
try checking out:


but just while finding these links i read posts from users saying that it doesn't work very well..