|
Subject: Re: proxying an external server into a website (subdirectory) Newsgroups: gmane.comp.apache.user Date: 2008-10-08 12:41:08 GMT (12 weeks, 6 days, 23 hours and 17 minutes ago) On Wed, Oct 8, 2008 at 12:19 AM, Michelle Konzack <linux4michelle <at> tamay-dogan.net> wrote: > Hello, > > I have a devel site and I like to use a translation too called "pootle". > unfortunately it runs as its own webserver on another port. > > I like to know, whether it is possibel to make a proxy or rewrite rule > which let "pootle" run in a subdirectory > > http://localhost:8080/ > > -> http://devel.debian.tamay-dogan.net/pootle/ > > of my website? This is possible, this is what is called a "reverse proxy" and it allows one server to appear in the webspace of another. In your case you could add the following to the webserver config of devel.debian.tamay-dogan.net ProxyPass /pootle/ http://localhost:8080/ ProxyPassReverse /pootle/ http://localhost:8080/ The ProxyPassRevers statement is only needed if pootle generates redirects. If pootle also generates pages with absolute links you might have to mangle the html it produces, using mod_proxy_html, but this is fairly advanced. More info is available here: http://www.apachetutor.org/admin/reverseproxies Krist -- krist.vanbesien <at> gmail.com krist <at> vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org " from the digest: users-digest-unsubscribe <at> httpd.apache.org For additional commands, e-mail: users-help <at> httpd.apache.org |
|
|