I have an instance of apache web server and I need to map URL in this way:
Url from b2b.domain.eu have to be proxied to another server 10.1.0.100 [IT WORKS]
Url from b2b.domain.eu/api have to be proxied to a tomcat api application [IT WORKS]
Url from b2b.domain.eu/decoder have to be proxied to a tomcat decoder application [IT WORKS]
For Url /App1/Shop/home.aspx we need to execute an output filter [IT WORKS]
www.domain.eu and web.domain.eu have to serve wordpress website [IT DON’T WORK] -> Instead the application go to App1 that seems to be default
Below there is my actual configuration. I tried to change it in different ways, change order, etc without any success. Anyone can help me to understand how to reach the expected behaviour?
Thanks in advance
<VirtualHost *:80> ServerName 10.1.0.101 ServerAlias b2b.domain.eu ProxyRequests Off ProxyPreserveHost On ExtFilterDefine filter1 mode=output \ cmd="/var/www/cgi-bin/filter.pl /tmp/filter.out" #Root: forward to App1 [OK] <LocationMatch "^/"> ProxyPassMatch http://10.1.0.100/App1 ProxyPassReverse http://10.1.0.100/App1 </LocationMatch> #API: Forward to tomcat (api) [OK] <LocationMatch "^/api/(.*)"> ProxyPassMatch http://localhost:8080/api/$ 1 ProxyPassReverse http://localhost:8080/api/$ 1 </LocationMatch> #Decoder: Forward to tomcat (decoder) [OK] <LocationMatch "^/decoder(.*)"> ProxyPassMatch http://localhost:8080/decoder$ 1 ProxyPassReverse http://localhost:8080/decoder$ 1 </LocationMatch> #App1 with filter execution [OK] <LocationMatch "^/App1/Shop/home.aspx(.*)"> ProxyPassMatch http://10.1.0.100/App1/Shop/home.aspx$ 1 ProxyPassReverse http://10.1.0.100/App1/Shop/home.aspx$ 1 SetOutputFilter filter1 </LocationMatch> #App1 [OK] <LocationMatch "^/App1(.*)"> ProxyPassMatch http://10.1.0.100/App1$ 1 ProxyPassReverse http://10.1.0.100/App1$ 1 </LocationMatch> </VirtualHost> #[KO] <VirtualHost *:80> ServerName 10.1.0.101 ServerAlias www.domain.eu web.domain.eu DocumentRoot /var/www/html/wordpress </VirtualHost>
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!