Forum Moderators: phranque
in my .conf i have the directory directives and no other (like to override other dirs at say at htdocs)
<Directory />
Options FollowSymLinks +ExecCGI -Indexes
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
in the virtual host log i'm getting
-client denied by server configuration: C:/apache2/htdocs/myVirtDir/hello.cgi
and i get a 403 forbidden in the browser
can somebody please try to decipher this to help me get a basic script to run and hopefully suggest what i might need to change beyond that to have scripts run out of the std apache cgi-bin directory
bob
Then you'll need to properly declare the path-to-PERL in the script header... I'm not actually sure how you'd do that if PERL is located on a different drive, unless you symlink it in the OS. But Windows doesn't support SymLinks, so that's not an option. But at any rate, the path in "#!/usr/bin/perl" must resolve to the PERL interpreter's executable file directory.
Jim
Also, not sure if it was a typo here, or in the config, but I wouldn't expect it to be able to find "/ubr_upload.pl" if "uber_upload.pl" was intended...
Jim
so...... it looks like the content type is covered for this script if i'm reading the http header info right and the way the script is specifying the content type. so this part seems ok, yes?
one thing i noticed is ubr script uses
use strict; # Insert whipping sound here
use CGI::Carp 'fatalsToBrowser'; # Dump fatal errors to screen
use CGI qw(:cgi); # Load the CGI.pm module
from reading on this, the cgi.pm is used due processing form data. perhaps my configuration isn't giving access to cgi.pm. i can't find it anywhere on my system, not in the perl installation or in apache.
could that be the problem?