Run CGI scripts outside cgi-binSome 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: Options +ExecCGI 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.
Previous Entry Secondthoughts Index Next Entry
ManuelViloria@GMail.com Copyright © 1996 - 2008 by Viloria.com All Rights Reserved.
Secondthoughts Sitemap | Photos | ManuelViloria.com | $100 A Day Online
Secondthoughts [ PastThoughts | rss/xml ] 07.14: Wedding Planning on a Budget 07.14: The Gallery Salcedo, Makati 07.12: Sun Cellular Postpaid Plans 07.10: Google Nemesis 06.29: Firepow Review 06.29: Viral Inviter 06.27: From P&G to Problogging 06.27: Google Manipulator 06.26: Virtual Smart Agent Saves $25,000 06.25: Speak Bisaya Love Phrases 06.23: Secret Affiliate Code 06.17: Gas Saving Tips 06.14: Punta de Fabian 06.03: Water and Gas Fuel Review 06.02: One Archers Place 05.29: Globe To TM SMS Texts |
"We Host at H4P because H4P is affordable, reliable, and customer-friendly!" -- Manuel Viloria About Manuel Viloria Secondthoughts Archives Angelhouser Viloria.com RSS Feed |