[Catalyst] FastCgi + Apache problem = execute not allowed
denis at uzvik.kiev.ua
denis at uzvik.kiev.ua
Fri Mar 3 17:42:16 CET 2006
Hi guys,
I have such apache error log:
>>FastCGI: invalid (dynamic) server "/home/w3maxip/maxp/script/maxp_fastcgi.fpl": access for server (uid 99, gid 99) not allowed: execute not allowed
uid99 = use nobody
my files are located under user(w3maxip) with uid 32097.
In Apache httpd.conf part related to virtual host with fastcgi support
I have dirictives:
User w3maxip
Group w3maxip
Why when I try http://domain.com/script/myapp_fastcgi.fpl i get such error?
I created simple fcgi(test.fpl) script:
#!/usr/bin/perl
use FCGI;
use strict;
use Carp;
my $count = 0;
while(FCGI::accept() >= 0) {
my $key;
$count += 1;
print("Content-type: text/html\r\n\r\n",
"<title>FastCGI Hello! (Perl)</title>\n",
"<h1>FastCGI Hello! (Perl)</h1>\n",
"Request number ", $count, "<BR />\n");
foreach $key (sort(keys %ENV)) {
print "$key = $ENV{$key}<br>\n";
}
print "</body></html>";
}
And this script( http://domain.com/script/test.fpl ) executed fine.
please help to solve this problem.
P.S. I use dynamic type of fcgi server;
More information about the Catalyst
mailing list