Thread: Virtual hosts with rewrite problems
i'm having problems configuring virtual hosts file properly
site http://server.com opens on http , https
site 10.0.1.3/myapp/ works
trying redirect traffic http://server.com/myapp/
http://10.0.1.3:8080/myapp/ while maintaining access http://server.com
i @ loss , looked on google answers, didn't find answer.code:<virtualhost *:80> serveradmin norjms@server.com servername server.com serveralias www.server.com # indexes + directory root. documentroot "/var/www/server.com/public_html" directoryindex index.html <directory "/var/www/server.com"> allowoverride allow </directory> # logfiles errorlog /var/www/server.com/logs/error.log customlog /var/www/server.com/logs/access.log combined <location /myapp> order deny,allow deny allow proxypass http://10.0.1.3:8080/myapp proxypassreverse http://10.0.1.3:8080/myapp </location> </virtualhost>
have tried use mod:rewrite instead?
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Virtual hosts with rewrite problems
Ubuntu
Comments
Post a Comment