Help with perl. - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36) +---- Forum: Web Server Support and Setup Help (https://www.supportforums.net/forumdisplay.php?fid=37) +---- Thread: Help with perl. (/showthread.php?tid=1707) |
Help with perl. - DAMINKā¢ - 10-17-2009 Ok i have setup a new home server. No big deal. But i am wanting to make some other directories active with perl. So i can run perl/cgi scripts from different locations. Why you may ask. Well i have moved my server root location from /var/www/html to another drive. Now i want to be able to run my scripts from within my server directory. I have edited the httpd.config file but i have had no luck as yet. Before i destroy my server i thought i might ask. Here is where i have currently edited. # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/server/cgi-bin"> AllowOverride All Options ExecCGI Order allow,deny Allow from all </Directory> server being the other harddrive ofcourse. Current error i am getting is this. Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: test.cgi If you think this is a server error, please contact the webmaster. Error 500 Testing pages are http://www.daminkshost.com/cgi-bin/test.cgi http://www.daminkshost.com/cgi-bin/test.pl I just renamed the 2 files in the hope that was it. Thanks if anyone can help me easily. |