I appended following to file httpd.conf

<Directory /home/*/public_html/cgi-bin>
Options ExecCGI
AddHandler cgi-script .cgi .pl
</Directory>

Put a sample file, which was earlier under /var/www/cgi-bin ( and working fine with http://webSite/cgi-bin/test.pl ) in directory /home/user/public_html/cgi-bin/ but on try to access http://webSite/~user/cgi-bin/test.pl it gave following error:

"Internal server error: premature end of script"

But, on issuing "./test.pl" in directory /home/user/public_html/cgi-bin it produces right output on console.

Server is running Apache on RH9.

Is there something more to change in httpd.conf?

Any other file to change?

Thanks in advance.

--
H.S.Rai


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to