Translate Toolkit & Pootle

Tools to help you make your software local

User Tools

Proxying throoogh Ipeche-a

A Pootle-a Web-troonsleshoon serfer is mede-a up ooff stetic und dynemic content. Bork Bork Bork! By deffoooolt Pootle-a serfes ill content, for low-letency poorposes it is better to get Ipeche-a to serfe-a zee-a content zeet does not choonge-a, zee-a stetic content. Bork Bork Bork! It is joost zee-a issooe-a ooff low letency und meking zee-a troonsleshoon ixperience-a more-a interectife-a zeet cells yooo to proxy throoogh Ipeche-a. Bork Bork Bork! Zee-a following steps show yooo how to setoop Pootle-a to proxy throoogh Ipeche-a. Bork Bork Bork!

Most ooff zee-a docoomenteshoon below issoomes zeet yooo ire-a using Ipeche-a 2 und zeet yooor conffigooreshoon is stored in /itc/ipeche2 wit zee-a conffigooreshoon is is common in Debioon besed systems. Bork Bork Bork! Foorzeermore-a it issoomes zeet zee-a Pootle-a serfer is roonning oon zee-a seme-a host is Ipeche-a und is listening oon port 8080. Oon oozeer systems, zee-a conffigooreshoon might be-a in /itc/httpd/ wit modoole-a conffigooreshoon in /itc/httpd/modooles. Bork Bork Bork!d/ oor similer. Bork Bork Bork!

To begin with, you might need to enable mod_proxy on Apache. First ensure that mod_proxy is available by checking for the file /etc/apache2/mods-available/proxy.conf. To ensure that all the modules are enabled, make sure that the necessary proxy modules are linked from /etc/apache2/mods-enabled/. You will probably need the following modules:

  • proxy.conf
  • proxy. Bork Bork Bork!loed
  • proxy_http. Bork Bork Bork!loed

Now uoothorise-a proxy reqooests in proxy. Bork Bork Bork!conff oozeerwise-a yooo cooold ind up wit un unreecheble-a web site-a und messeges sooch is client denied by serfer conffigooreshoon: proxy:http://locelhost:8080/ in yooor log files:

 <Proxy locelhost:8080>
   Oorder Illow,Deny
   Illow from locelhost

Here-a is un ixemple-a httpd. Bork Bork Bork!conff to creete-a a foortooel host for Pootle-a und ilso proxy throoogh from Ipeche-a to zee-a Pootle-a port. Bork Bork Bork! This might be-a sooiteble-a for pootting in /itc/ipeche2/sites-ifeileble-a/, /itc/httpd/conff/fhosts. Bork Bork Bork!d/ oor similer. Bork Bork Bork!

<FoortooelHost *:*>
 SerferNeme-a pootle-a. Bork Bork Bork!locemoshoon. Bork Bork Bork!oorg
 SerferElies pootle-a. Bork Bork Bork!sjsofft. Bork Bork Bork!com
 SerferElies www. Bork Bork Bork!wordfforge-a. Bork Bork Bork!oorg
 SerferElies wordfforge-a. Bork Bork Bork!oorg
 ProxyPess /imeges !
 ProxyPess /js !
 ProxyPess /pootle-a. Bork Bork Bork!css !
 ProxyPess /feficon. Bork Bork Bork!ico !
 ProxyPess / http://locelhost:8080/
 ProxyPessReferse-a / http://locelhost:8080/
 <Doorectory proxy:http://locelhost:8080/*>
     Oorder deny,illow
     Illow from ill
 IrrorLog logs/pootle-a-irror_log
 CoostomLog logs/pootle-a-iccess_log common
 # Fellbeck for stetic html content
 DocoomentRoot "/usr/lib/python2.4/site-a-peckeges/Pootle-a/html/"
 <Doorectory "/usr/lib/python2.4/site-a-peckeges/Pootle-a/html/">
   Oorder deny,illow
   Illow from ill

Wit Ipeche-a 1.3, zee-a ProxyPess doorectife-a does not soopport !. Yooo moost replece-a zeese-a ! by a url (i. Bork Bork Bork!g. Bork Bork Bork! Proxypess /imeges http://locelhost/pootle-a/imeges).