Hi,

I had it working and now I don't. 
Again I get: "You don't have permission to access
/home/mikel/cgi-bin/test on this server."

I have my html files in /home/mikel/public_html/
cgi scripts in /home/mikel/cgi-bin/
drwxr-xr-x   /home/mikel/cgi-bin                <- exec set so should be accessable
        -rwxr-xr-x  /home/mikel/cgi-bintest     <- here is my script, exec is ON
drwxr-xr-x   /home/mikel/public_html            <- exec set so its accessable

In access.conf I have:

### ML May2000: Added this to allow access to my directory
<Directory /home/mikel/public_html>
        Options All Indexes IncludesNOEXEC
        AllowOverride None
</Directory>

<Directory /home/mikel/cgi-bin>
        Options ExecCGI
</Directory>

The above should allow me to exec CGI scripts in /home/mikel/cgi-bin/
but not exec them in public_html.

My HTML file calls:
<FORM METHOD=GET ACTION="/home/mikel/cgi-bin/test">

The web page shows fine as http://localhost/~mikel/

When I click the submit button I get the message:
"You don't have permission to access /home/mikel/cgi-bin/test on this
server."

Netscape show this in the display so it is trying the right place:
http://xxx.uts.edu.au/home/mikel/cgi-bin/test?Y=
(note: localhost changes to my actual machine name and domain when I
'submit')

The tail of apache error log does not show any errors.

There is prob something very simple but there are so many directives.
Mike

--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
URL: http://www.science.uts.edu.au/~mikel
Linux enthusiast, active caver and interested in anything technical.
--------------------------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to