httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karel Kubat <ka...@e-tunity.com>
Subject Re: [users@httpd] Error log entries about CGI script
Date Tue, 17 Feb 2009 08:27:09 GMT
-----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>

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

- --
Best regards / met vriendelijke groet, Karel Kubat
Mob +31 6 2956 4861



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkmadN4ACgkQ23FrzRzybNXTIQCgj+YjAncIaf2rB8mfbsI2Iae2
lf4AoJ7jWgj4xqhYDc4g8fH8B6f9bRFv
=8EWC
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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