Forum Moderators: phranque
I have an apache server with a lighttpd installation on the same machine to serve the static content. The lighttpd server is binded to localhost, so it´s innaccesible from outside.
The configuration works fine, but I have to modify some config files on the server for each domain I want to use this method.
Is there any form to achieve this only with an htacess RewriteRule? I was trying with a variant of this, without success.
RewriteRule ^(.*).(jpe?g¦gif¦bmp¦png)$ [0.0.0.0:8080...] [NC,P,L]
Any idea? Thanks in advance, Simon.