Re: Authentication proxy over proprietary module

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

 



Hello,

when I move ProxyPass to RewriteRule so that now it looks like following:
RewriteRule ^/term/$ http://127.0.0.1:8000/ [P]
RewriteRule ^/term/u$ http://127.0.0.1:8000/u [P]
RewriteRule ^/term/(.*) http://127.0.0.1/public/ajaxterm/$1 [P]
RewriteRule ^/([^/]+)$              ${unity:$1|/$1} [L]
RewriteRule ^/([^/]+)/(.*)  ${unity:$1|/opt/apache/htdocs/ssldocs/$1}/$2 [L]

Then page is shown but unfortunatelly without and
authentication/authorization screen.

May be I misunderstand your answer.
> Tough to guess why it didn't get proxied without looking at verbatim
> doc. If it doesn't get proxied, it won't match your <Proxy *>.
What do you mean with verbatim doc? Could you please send me reference?

Thank you in advance
Best regards
Petr
2010/6/18 Eric Covener <covener@xxxxxxxxx>:
> On Fri, Jun 18, 2010 at 8:13 AM, Petr Hracek <phracek2@xxxxxxxxx> wrote:
>> satisfy any was deleted and with slash is also not working.
>> The same error 404.
>
> Tough to guess why it didn't get proxied without looking at verbatim
> doc. If it doesn't get proxied, it won't match your <Proxy *>.
>
>>
>> in the Virtual Host section I have RewriteRule section as well and at
>> the and is mentioned:
>> RewriteRule ^/([^/]+)$              ${unity:$1|/$1} [L]
>> RewriteRule ^/([^/]+)/(.*)  ${unity:$1|/opt/apache/htdocs/ssldocs/$1}/$2 [L]
>>
>> which is used for my proprietary module.
>> In the handler in that module is not any redirecting to the proxy and
>> when the authentication/authorization is done succesfully then each
>> functon return is OK.
>
> Can't such a rewrite short-circuit ProxyPass?  Try moving your
> Proxypass directives to rewrite so you can make sense of  / control
> the relationship.
>
>> Could there be a problem that handlers like post_read_request are not
>> mentioned for handling Proxy Request?
>>
>
> No.  But you could simply add a logging call to your module to debunk
> such a thing.
> --
> 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
>
>



-- 
Best Regards / S pozdravem
Petr Hracek

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