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.


At 06:46 PM 6/19/99 -0700, Ken Dalton wrote:
>If I go to http://localhost/cgi-bin/ I get the cgi-bin index.
>
>If I go to srm.conf file and take add
>ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
>
>Then it says I dont have access to the cgi-bin
>
>This is from root.
>If I try to go into a user cgi-bin I cant access it period.
>This is a somewhat fresh install of linux (redhat 6.0) and I haven't really
>changed anything..



------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA  94303-3603                       [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to