Apache redirect with a relative path -
i want clear doubt, it's possible in apache make "alias" (mask) port ??
let make use of example:
in server have apache running in *:80 , application running *:8080, inside domain called www.example.com
.
so, i'm think if possible , how can make "alias" if use www.example.com\other
redirect www.example.com:8080\gui
.
and possible mask name example.com\other
?
as said, i've enabled mod_proxy use proxypass , proxypassreverse
this first try proxypass proxypass /foo http://domain.com:5780
proxypassreverse /foo http://domain.com:5780
when tried access http://myown.com/foo
redirected domain selected did not loaded images, did not saw before because images @ page bottom.
i have read page mod_rewrite, mod_alias, redirect , mod_proxy, i've edited apache config , it's not working properly.
the answer depends on application running on port 8080.
- if it's java application running under tomcat, consider mod_jk
- if it's python wsgi application, consider modwsgi in daemon mode.
- you use mod_proxy (eg. apache mod_rewrite internally different port).
Comments
Post a Comment