help with cgi
Posted by: dbzkid (---.dyn.optonline.net)
Date: July 12, 2006 04:22AM

Im trying to make a cgi proxy but for some reason it just dosnt want to show it on the browser either it justs says internal server error or it wants to download

I already installed the addon for perl

please help
thanks


Options: ReplyQuote
Re: help with cgi
Posted by: melban (---.static.twtelecom.net)
Date: July 13, 2006 07:54PM

One thing I always have to do when using CGI on any windows web server. You need to change the perl past on the first line of your script. Change the /user/bin/perl to c:/wamp/perl/bin/perl.exe for example

Options: ReplyQuote
Re: help with cgi
Posted by: CyberSpatium (67.170.181.---)
Date: July 14, 2006 04:11AM

you also need to set apache to allow perl scripts, open your httpd.conf file and find:
#AddHandler cgi-script .cgi

change it to:
AddHandler cgi-script .cgi .pl

then find:
Options Indexes FollowSymLinks

change to:
Options Indexes FollowSymLinks Includes +ExecCGI

save your file, and restart apache for the new settings to take effect.



Post Edited (07-14-06 09:05)

CyberSpatium
----------------------
WAMP Forum Admin

Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote


Sorry, only registered users may post in this forum.