2010/4/22 Petr Hracek <phrac...@gmail.com>

> Hello *,
>
> I hope that I am sending those question to the correct discussion list.
>
> In my Apache2 (2.2.3) configuration file I have:
> <VirtualHost _default_:443>
> SSLEngine on
> DocumentRoot "/opt/apache/htdocs/ssldocs"
> ProxyPass       /PAC/   http://192.168.187.101:8080/PACCBAdmin
> ProxyPassReverse    /PAC/       http://192.168.187.150:8080/PACCBAdmin/
> RewriteEngine on
> RewriteCond %{REQUEST_METHOD} ^TRACE
> RewriteRule .* - [F]
> RewriteMap unity txt:/opt/apache/conf/unity.map
> RewriteRule ^/([^/]+)$              ${unity:$1|/$1} [L]
> RewriteRule ^/([^/]+)/(.*)  ${unity:$1|/opt/apache/htdocs/ssldocs/$1}/$2
> [L]
> RewriteLog "/var/log/apache2/rewrite_log"
> RewriteLogLevel 3
>
> <Location "/PAC/">
>     ProxyPassReverseCookiePath /PACCBAdmin /PAC
>     Order Allow,Deny
>     Allow from all
> </Location>
>
> </VirtualHost>
>
> In the my modules which takes care about AAA, Security issues, etc.
> I would like to catch in my module when URL contains /PAC/ (which means
> that this is proxy) than it tell to module that this request is not a
> bussiness for them.
> Is it possible to do that somehow?
> I have found that r->proxyreq contains if the Request is Proxy or not.
>
> Thank you in advance
> --
> Best Regards / S pozdravem
> Petr Hracek
>

Hello *,

May be I have asked wrongly.

How can I detect if the request from browser if Proxy or not?
How should I configure apache for that case?

-- 
Best Regards / S pozdravem
Petr Hracek

Reply via email to