Re: Error log entries about CGI script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 17, 2009 at 12:27 AM, Karel Kubat <karel@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux