Yes, this is much clearer.
As to your main problem -- there is only one puzzling things about your
description: that apache CAN find the /home/httpd/cgi-bin/ directory when it
is NOT ScriptAliased. It should not be able to, since it is neither in not
aliased into your DocumentRoot tree (which, in the srm.conf file you sent
with your other message, is correctly specified as "DocumentRoot
/home/httpd/html").
That it CANNOT open the /home/httpd/cgi-bin/ directory when it IS
ScriptAliased is okay. Apache should be willing to RUN scripts from cgi-bin
but NOT show you a list of scripts in it. So try *running* a cgi script with
ScriptAlias set and see if that works.
If it doesn't, and if everything else in your description of your setup is
accurate (file locations, permissions, use of trailing / characters in the
URLs), I have no other suggestions, except (a long shot) to see if there is
some conflict between the entries in srm.conf and your other conf files
(access.conf &/or httpd.conf)?
As to your secondary problem ... you do understand that when apache opens up
a user's web area, it is opening up /home/ken/www/ when it gets
http://localhost/~ken/, right? So the directory test has to be created in
www (and www needs to be at least mode 555, as does test). Do you have any
restrictions on the user directories specified in your other config files (I
forget whether the newer apache versions use access.conf or httpd.conf)?
At 07:39 PM 6/19/99 -0700, Ken Dalton wrote:
>/home/httpd/cgi-bin
>Thats where the cgi scripts are
>
>In srm.conf I have "ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/"
>Also have "Addhandler cgi-script .cgi"
>
>I open netscape with http://localhost and the index comes up fine.
>I then change it to http://localhost/cgi-bin/ and it says
>403 Forbidden
>You don't have permission to access /cgi-bin/ on this server.
>---------------------------
>
>Now if I take out ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/ from the
>srm.conf file and I do http://localhost/cgi-bin/ then I see everything
>thats in the cgi bin. (the index of the cgi-bin)
>
>I have all the permissions set to 755 and logged in as root.
>
>-------------------------
>And another problem , non related I guess.
>I created a user named ken
>Set it up with an index.html and when I go to http://localhost/~ken the
>index.html comes up fine.
>When I create a directory called test and go to http://localhost/~ken/test/
>it says I don't permission to access /~ken/test/ on this server.
>
>Did I explain it better ??
>
>Ken
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA 94303-3603 [EMAIL PROTECTED]
----------------------------------------------------------------