I have a problem with running cgi-scripts in user directories. They simply don't run, giving back a 403 Forbidden error message. However I can access files in there, without a problem.
http://myserver.address/~robi/cgi-bin/proba.cgi I use slink, apache-1.3.3-7 My home directory is: drwxr-xr-x 21 robi robi 3072 Jul 22 11:50 robi My public_html is: drwxr-xr-x 6 robi robi 1024 Jul 19 23:38 public_html My public_html/cgi-bin is: drwxr-xr-x 2 robi robi 1024 Jul 22 15:05 cgi-bin The public_html/cgi-bin directory contains: drwxr-xr-x 2 robi robi 1024 Jul 22 15:05 . drwxr-xr-x 6 robi robi 1024 Jul 19 23:38 .. -rwxr-xr-x 1 robi robi 27 Jul 19 23:39 .htaccess -rwxr-xr-x 1 robi robi 144 Jul 22 15:05 proba.cgi .htaccess in it contains: AddHandler cgi-script .cgi proba.cgi (which I tried to run) contains: #!/bin/sh echo Content-type: text/html echo echo "<HTML><HEAD><TITLE>Hello</TITLE></HEAD>" echo "<BODY>" echo "Hmm" echo "</BODY></HTML>" It runs fine if I change identity with su to www-data, and try to run the proba.cgi What can be the problem? Robert Varga