I have scoured the internet for help on this is it's all the same:
"make sure your permissions are correct on your cgi-bin dir and your
script"
or
"make sure your a outputing the correct headers"
It's like only 3 people in the entire universe has had this problem and now
I'm the fourth and no-one seems to understand how to fix this problem.
Ok, with that intro here it is:
I have enabled users to have home directories with the following in
httpd.conf:
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/www>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory /home/*/www/cgi-bin>
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
This makes the http://tux/~mjohnson work fine, but if I try to do something
like, http://tux/~mjohnson/cgi-bin/myscript.pl it just dumps the code to the
browser and doesn't acutally run it.
I have tripple check the permissions and have run the script from the
command line and everything is correct. The actual path is
/home/mjohnson/www/cgi-bin.
Does anyone have ANY clue why this isn't working the way I would assume it.
Desparately seeking help -- I'm about to go out of my mind!!!