View Full Version : Perl problemo
softex
04-06-2004, 01:55 PM
Here we go again. Probably a simple thing, and I know I've been down this road before, but I can't seem to get it. Can run simple perl script from command line, but can't from browser. Internal server error and 403 Forbidden error. Permissions should be OK. Using fresh RedHat9 small and DirectAdmin. Apache (mis)configuration? Script aliasing problem? Getting close to my witzend. Help.
-Dave
rhoekman
04-06-2004, 05:51 PM
When you execute a perl script via browser it should be in cgi-bin.. is it?
ProWebUK
04-06-2004, 06:49 PM
and the log file says...?
Chris
softex
04-06-2004, 07:32 PM
Hi,
Here's the error log:
[Tue Apr 6 21:21:56 2004] [error] [client 209.89.159.21] Premature end of script headers: /home/sales/domains/albertawebsites.com/public_html/cgi-bin/test.pl
[Tue Apr 6 21:21:56 2004] [error] [client 209.89.159.21] (13)Permission denied: cannot read directory for multi: /home/sales/domains/albertawebsites.com/public_html/
Initially, I had perl problems with the Ensim panel as well. I know security has to be somewhat tight with these scripts, but unravelling these perl permissions on a fresh install is a real pain. Sure appreciate any insights.
-Dave
DirectAdmin Support
04-08-2004, 10:09 AM
Whats the permission on the public_html? Try setting it to 755 if it isn't already.
John
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.