apache reversproxy problem
Hi, I've an issue with editing created pads. I can create folders and pads, but if I trying to open a pad I get:
Not Found
The requested URL /p/mypad-zn5bmh7 was not found on this server.
If I'm trying it without reverse-proxy in the unsecured way, it works. But I need to use it via https.
What is my error? My apache proxy section:
ProxyVia On
ProxyRequests Off
ProxyPreserveHost on
<Location /pad/>
ProxyPass http://localhost:9001/ retry=0 timeout=30
ProxyPassReverse http://localhost:9001/
</Location>
<Location /pad/socket.io>
RewriteEngine On
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule /(.*) ws://localhost:9001/socket.io/$1 [P,L]
ProxyPass http://localhost:9001/socket.io retry=0 timeout=30
ProxyPassReverse http://localhost:9001/socket.io
</Location>
<Location /mypads>
RewriteEngine On
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule /(.*) ws://localhost:9001/mypads/$1 [P,L]
ProxyPass http://localhost:9001/mypads retry=0 timeout=30
ProxyPassReverse http://localhost:9001/mypads
</Location>
<Proxy *>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Proxy>
Thanx for helping and thanx for this great piece of code!