Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

problem with perl

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  virtual hosting, is this correct?  
Author Message
thbouhnik

External


Since: Feb 04, 2004
Posts: 9



(Msg. 1) Posted: Sun Mar 07, 2004 6:00 am
Post subject: problem with perl
Archived from groups: alt>apache>configuration (more info?)

Hello,
I've installed perl for my windows server.
I'hve add also apache.

I have this line in apache the I had uncoment:
AddHandler cgi-script .cgi .pl

And for the directory that I want to execute perl, I've put that
<Directory />
Options FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>

my test file: test.pl is like that:
#!c:\serveurs\perl\bin\perl.exe
print "Content-type: text/html\n\n";
print "Hello world, it works!\n";

it appears that: "The server encountered an internal error or
misconfiguration and was unable to complete".



Thanks

 >> Stay informed about: problem with perl 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sun Mar 07, 2004 11:34 am
Post subject: Re: problem with perl [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thierry B <thbouhnik DeleteThis @free.fr> wrote:
 > it appears that: "The server encountered an internal error or
 > misconfiguration and was unable to complete".

check the log file of apache. Most probably it can't find the
perl interpreter.

Davide

--
| You buttered your bread, now lie in it.
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: problem with perl 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
problem with perl - [Sun Aug 31 20:42:48 2003] [error] [client 127.0.0.1] attempt to invoke directory as script: c:/foxserv/www/cgi-bin This is standing in error.log Apache. And I get: Forbidden. You don't have permission to access /cgi-bin/ on this server. Whenever i g...

Apache 2.0 and cgi-bin perl problem - Hello Gents I have installed now on my pc (windows 20000) the latest version of apache 2.0.48 and perl 5.6.1 After the installation i try to run the http://my-host/cgi-bin/printenv.pl and the the server not execute the perl scrit but the browser..

Perl-5.8-win32-bin configuration problem - why the configuration fail and return message asking me to set the top level directory for perl when i have already set one.

apache 2.0.47 and perl/cgi - Hello, I have installed apache 2.0.47 on my linux red hat 9.0. ../configure --prefix=/etc/httpd --enable-rewrite=shared --enable-speling=shared --enable-cgi=shared --enable-alias=shared but the cgi script not work..... Bye, Massimiliano

Perl CGI doesn't want to execute !! - Hi, I've set up ipaudit on my RH9 webserver, but cgi doesn't want to execute !! Those files are chmod +x and I've put the ExecCGI flag in my apache conf. lol
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]