Re: Authentication proxy over proprietary module

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

 



On Fri, Jun 18, 2010 at 7:32 AM, Petr Hracek <phracek2@xxxxxxxxx> wrote:
> Hello *,
>
> I have tried to find out any solution how to authenticate/authorized access
> to the proxy but I did not found any
> good answer to my question.
>
> Let's say that I have my own module which is take care about authentication
> to the SSL web pages.
> Unfortunatelly I would like to authenticate proxy which is used on
> http://127.0.0.1:8000/
> I am using following in the apache configuration file.
> This section is not written in <VirtualHost _default_:443>
> but in HTTP section.
>
> <IfModule mod_proxy.c>
>         ProxyRequests Off
>         ProxyVia On
>         ProxyPass       /term/  http://127.0.0.1:8000/
>         ProxyPass       /term/$ http://127.0.0.1:8000/
>         ProxyPass       /term/u$        http://127.0.0.1:8000/u
>         ProxyPass       /term/(.*)      http://127.0.0.1/public/ajaxterm/$1
>         ProxyPassReverse  /term/  http://127.0.0.1:8000/
>         ProxyPassReverse  /term/  http://localhost:8000/
>         <Proxy *>
>                 Order deny,allow
>                 Allow from all
>                 AuthType SEC
>                 AuthName "Password Required"
>                 require valid-user
>                 satisfy Any
>         </Proxy>
> </IfModule>
>
> Unfortunatelly when I write down to the URL of browser
> https://<IP_Address>/term than after authentication I have received
> HTTP Error 404 HTTP Not Found (Not Found).
>
> What I have mistake in httpd.conf file?

satisfy any means only the host-based access control was required, so
no other auth ran.

your proxy rules only proxy URL's with a trailing slash after "/term",
so you got a 404.

Eric Covener
covener@xxxxxxxxx

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