Jump to content
Froxlor Forum
  • 0

froxlor and mod_perl


J-B

Question

Hi, 

I´m trying to run a perl script on my server.

For the customer i have add Perl Support. If I try to run the Perl Script direct to the docroot I get the source code. If I try into a cgi-bin dir I get a forbidden message.

In the error Logs I see nothing.

 

/html/cgi-bin/	Nein				Ja

I have add a new cgi-bin into my docroot, but same forbidden.

 

Any idea?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Any idea, why I get a forbidden error?

That is my perl Script:

#!/usr/bin/perl

use strict;
use warnings;

my $logname = $ENV{ LOGNAME };
print "\$logname = $logname\n";

my $user = $ENV{ USER };
print "\$user = $user\n";

my $pwuid = getpwuid( $< );
print "\$pwuid = $pwuid\n";

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...