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 <cove...@gmail.com>:
> On Fri, Jun 18, 2010 at 8:13 AM, Petr Hracek <phrac...@gmail.com> 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
> cove...@gmail.com
>
> ---------------------------------------------------------------------
> 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-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>



-- 
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to