Problem Description: Redirecting with mod_proxy is not working for the correct domain
Troubleshooting Steps: Followed the various topics on the forums and tried numerous configurations
Subsonic Version: 4.8 (build 3434) – April 17, 2013
Hardware Platform: Centos 6.4 on XenServer
<-------------------------Subsonic Help Request---------------------->
Hi All,
Currently I have Subsonic running on port 81 and if I go to 192.168.1.2:81/subsonic everything works correctly
After setting my httpd.conf to the following,
- Code: Select all
<IfModule mod_proxy.c>
ProxyRequests On
<Proxy /subsonic >
Options Indexes ExecCGI FollowSymLinks -MultiViews
Order deny,allow
Allow from all
</Proxy>
ProxyPass /subsonic http://localhost:81/subsonic
ProxyPassReverse /subsonic http://localhost:81/subsonic
ProxyVia On
</IfModule>
I know have two scenarios one working and one not working,
NOT WORKING,
If I go to 192.168.1.2/subsonic i am redirected to 192.168.1.2/index.view which throws a 404 as that file doest exist.
WORKING,
If I go to 192.168.1.2/subsonic/ I am redirected to 192.168.1.2/subsonic/index.view and everything works great.
Can anyone tell me how I can configure mod_proxy to behave the same way for a non trailing slash?
I have set my contect correctly to /subsonic
Thanks.
