mod rewrite - .htaccess RewriteRule to webserver without changing URL -


i port-forwarding .htaccess, following scenario:

https://example.com                => http://getcontent.from:8080 https://example.com/test           => http://getcontent.from:8080/test https://example.com/favicon.ico    => http://getcontent.from:8080/favicon.ico https://example.com/img/asdf.png   => http://getcontent.from:8080/img/asdf.png 

but url should stay 'example.com'.

the primary target forward node-server on different server because have no https there.

you can use example #2 brontobytes, change port well.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -