Run CGI scripts outside cgi-bin
Some web hosts allow you to run .cgi scripts only if they're inside the cgi-bin folder. Others allow you to run your scripts outside the cgi-bin folder. Here's how to ensure that you can run them from any folder.
If you wish to run the cgi script outside the cgi-bin folder and it doesn't seem to work, first get in touch with the Technical Support Team of your web host and let them know about your needs.
Then, ask permission if you're allowed to add the following two lines to your HTACCESS file:
Those two lines tell your webserver to treat files ending in .cgi or .pl to execute (run as scripts). This assumes you've chmoded those files as 755.
"Yes, I Want To Grow My Financial Life & Get The 11 TrulyRichClub Blessings!"
To Grab This Offer, Click Option Below:
Visit SupremeWealthAlliance.net ~ Kumita sa Internet, Kahit Super-BUSY Ka
Get In Touch With Manuel Today
"Invest in yourself, before
others will invest in you."
-- Manuel Viloria
About Manuel Viloria