All Questions

Filter by
Sorted by
Tagged with
3
votes
2answers
32 views

Mod Rewrite proxy to different backend hosts

I have a virtual host with multiple ServerAlias host1.example.com host02.example.com etc. I match the same pattern and based on ServerAlias I want to proxy them to different backend hosts. What I ...
1
vote
1answer
1k views

Apache Reverse Proxy Rewrite Remote_User

Running httpd 2.4.6 on CentOS 7 as a reverse proxy for Splunk with SSO. This works with no proxying: RewriteCond %{LA-U:REMOTE_USER} "user" [NC] RewriteRule ^.*$ - [F,L] The above does NOT work ...
5
votes
1answer
636 views

Using mod_rewrite to check for existence of a cookie

I have an 'internal' website at my company that i'd like to allow outside access to via a reverse proxy with an Apache Server. The wrinkle here is that I only want particular Mobile Users accessing ...
1
vote
0answers
36 views

Using mod_rewrite to force users to use our caching proxy

During a recent audit we became aware of several users who have not set their DNS records to correctly point to our name servers. Since we don't control the domain names of our users directly, we're ...