Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.
Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.
Rewrite rule or mod_proxy config for reverse proxy in Apache? Question
I looks like either
RewriteEngine on
RewriteRule (.*) http://localhost:8080/$1 [P,L]
or
ProxyPass "/" "http://localhost:8080/"
ProxyPassReverse "/" "http://localhost:8080/"
would allow me to set up a reverse proxy from my Apache web server running on ports 80 (http) and 443 (HTTPS) to my back end web server running Tomcat that serves one specific domain with Java.
The first rule is based on mod_rewrite while the second is based on mod_proxy. Both look like they would do the right thing. Is there a technical reason that I should prefer one to the other?
0 comment threads