/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
At 07:26 PM 6/19/99 -0700, you wrote:
>It is still hard to tell what problem you are experiencing. A few comments
>may help clarify things.
>
>What is the real location of the directory? Is it /home/httpd/htdocs/cgi-bin
>(replace htdocs with whatever you use for DocumentRoot) or
/home/httpd/cgi-bin?
>If it is the first, then everything makes sense. Without the ScriptAlias
>line, the directory is an ordinary directory, with no ability to run cgi
>scripts (unless you set that option for the directory in your config file).
>Once you set the ScriptAlias line, though, the real directory is no longer
>accessible, and instead apache tries to access a non-existant directory.
>
>If it is the second, then I'm stumped for now ... sorry ... but see "typo"
>comments below.
>
>I also don't understand your distinction between root and user access.
>Running through Netscape via http instead of file, the userid should make no
>difference -- what matters is the userid that apache runs under, and that is
>(in a stock install) "nobody". In any case, I don't understand what "If I
>try to go into a user cgi-bin I cant access it period" means, perhaps
>because I don't know what "go into" (or possibly what "a user cgi-bin")
>means in this context.
>
>I also may be misinterpreting "take add" in "If I go to srm.conf file and
>take add". There's obviously a typo here, and I assumed it was the inclusion
>of the word "take". But if instead you meant to write "take out", then
>you're saying the exact opposite of what I was assuming above -- that when
>the ScriptAlias line is in, you can access the directory, but when it is
>out, you cannot ... but it will not execute cgi scripts even when it is
>accessible. This may mean that you have the wrong options in the <Directory>
>entry for that directory in your config file.
>
>If none of this helps (and others on the list don't come up with anything
>better), try sending us one message that describes, as completely and
>carefully as you can, the different things you've tried and the results of
>each try.
>
>