mod proxy - Apache map URL to resource -
mod proxy - Apache map URL to resource -
i'm hoping can help me out configs apache. have mod_proxy config working, want add together config can map /fog serve /var/www/fog/index.php i'm unsure how i've ever used apache proxy pass.
this mod_proxy.conf far:
<virtualhost *> <location /movies> proxypass http://localhost:8082/movies proxypassreverse http://localhost:8082/movies </location> <location /tv> proxypass http://localhost:8081/tv proxypassreverse http://localhost:8081/tv </location> <location /download> proxypass http://localhost:8080/sabnzbd proxypassreverse http://localhost:8080/sabnzbd </location> <location /> proxypass http://localhost:8083/ proxypassreverse http://localhost:8083/ </location> </virtualhost>
i've tried adding next top of mod_proxy.conf:
alias /fog /var/www/fog/management
but blank page when nail /fog
ok figured out i'll post help others
proxypass /fog ! alias /fog /var/www/fog
using ! directive prevents proxy of /fog using proxypass rule , allows alias used, without alias ignored.
apache mod-proxy
Comments
Post a Comment