Hello, I run a server with several websites on it, most of which use apache to serve them. I'm trying to get tntnet to work on this server as a subdomain passed through a proxy - i.e., instead of having to access myserver.com:8080, I want users to be able to access tntnet through tntnet.myserver.com.
After some looking, I found mod_proxy and mod_rewrite. I've tried two different methods here, but both of them end up working the same: <VirtualHost *:80> ServerName tntnet.myserver.com ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ <proxy *> Order allow,deny Allow from all </proxy> </VirtualHost> and: <VirtualHost *:80> ServerName tntnet.myserver.com RewriteRule /(.*) http://localhost:8080/$1 <proxy *> Order allow,deny Allow from all </proxy> </VirtualHost> Both of these work... except not really. When I visit tntnet.myserver.com, I do get the proper document, but instead of being formatted as an html file as would be expected, it looks like this: HTTP/1.1 1 OKConnection: Keep-Alive Content-Length: 148 Content-Type: text/html; charset=iso-8859-1 Date: Wed, 29 Dec 2010 13:40:30 GMT Keep-Alive: timeout=15000, max=999 Server: Tntnet/1.6.3 <html> <head> </head> <body> Test page </body> </html> Anyone have any ideas how to make this work? I'm guessing tntnet is sending the headers to Apache rather than to the browser, anyone know how to fix that? ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
