httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin O'Gorman" <kogor...@gmail.com>
Subject Re: [users@httpd] Error log entries about CGI script
Date Tue, 17 Feb 2009 10:42:58 GMT
On Tue, Feb 17, 2009 at 12:27 AM, Karel Kubat <karel@e-tunity.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kevin,
>
> On Feb 16, 2009, at 10:53 PM, Kevin O'Gorman wrote:
>
>>>> The entries look like this
>>>> [Mon Feb 16 07:53:53 2009] [error] [client 74.6.22.153] client denied
>>>> by server configuration: /usr/htdocs/10
>>>>
>>>> The corresponding access log entries are like this:
>>>> 66.249.67.149 - - [16/Feb/2009:07:55:53 -0800] "GET
>>>> /hex-bin/board/10/da:/Bc/H7 HTTP/1.1" 200 12153
>>>> which as you can see, succeeded.  The only thing special is that
>>>> "hex-bin" has been redirected with ScriptAlias
>>>> to another place, where the script is.
>>>>
>>>> Maybe this is normal, but I do think it odd.  Am I doing something
>>>> wrong?
>>>
>>> From your previous mail I think that the CGI name /hex-bin/ was the
>>> absolute
>>> directory /hex/bin/. I therefore don't understand who is accessing
>>> /usr/htdocs/10 and why... Is that maybe the docroot of the server? What
>>> happens if you direct the browser to / ?
>>>
>>
>> "You don't have permission to access / on this server."
>>
>> Try it at http://hex.kosmanor.com/
>> or         http://hex.kosmanor.com/hex-bin/board
>
> In that case I'd start by adding:
> <Location />
>  Order allow,deny
>  Allow from all
> </Location>

That did it.  Thanks....

++ kevin

>
> Alternatively use the <Directory> directive and see if that helps.
>

>



-- 
Kevin O'Gorman, PhD

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message