Al 04/10/10 16:34, En/na Juan J. MartÃnez ha escrit:
El lun, 04-10-2010 a las 16:30 +0200, xancorreu escribió:
[...]
I don't think so: thttpd is running with www-data and all is ok.
oddmuse.pl has chown to www-data:www-data.
I have almost the same configuration in a couple of scripts, and it
works perfectly.
But I can see a difference, I'm not using "Script Alias" but instead the
CGI has the executable bit and starts with the comment that provides the
shell the interpreter to run the script (#!/usr/bin/perl).
I would try to remove the "Script Alias" part and check the executable
bit and starting line of the script.
Without "Script Alias" oddmuse (current.pl) runs but my wiki.pl does not:
wiki.pl contains are:
#! /usr/bin/perl
package OddMuse;
$DataDir = '/var/www/wiki/wikidata';
$ConfigFile = '/var/www/wiki/wikicmd/oddmuseconfig';
do '/var/www/wiki/wikicmd/current.pl';
Why?
Xan.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee