Quote:
Originally Posted by luofeiyu
|
You can use the following generic rewrite:
Code:
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule .* http://localhost:8080%{REQUEST_URI} [R,L]
But IMO it's better to use apache as a
reverse proxy for the backend server running on port 8080