On Fri, Jun 11, 2010 at 4:08 PM, Tom Evans <tevans.uk@xxxxxxxxxxxxxx> wrote: > On Fri, Jun 11, 2010 at 11:30 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote: >> So let me know what you want to know. > > > Does this not work for you? No > <VirtualHost *:80 > > ServerName site1.mydomain.com > ServerAdmin webmaster@localhost > > ProxyRequests off > <Proxy *> > Order deny,allow > Allow from all > </Proxy> > ProxyPreserveHost On > ProxyPass /mingle/ http://192.168.1.10:8080/ > ProxyPass / http://192.168.1.10/ > ProxyPassReverse /mingle/ http://192.168.1.10:8080/ > > ErrorLog /var/log/apache2/site1.mydomain.com_error.log > > LogLevel warn > > CustomLog /var/log/apache2/site1.mydomain.com_access.log combined > CustomLog /var/log/apache2/site1.mydomain.com-resp_log resp > LogFormat "%{X-Forwarded-For}i %D %t" resp > </VirtualHost> > > If not, why not? Well I do not know the exact reason.After your previous message I have tried to log more messages I added the following line to my vhost definition CustomLog /var/log/apache2/site-resp_log resp LogFormat "%f %p (redirected request)%>s %U %v" resp (filename requested)proxy:http://site.mydomain.com/profile/login (Canonical port serving request)80 (redirected request)404 (URL requested )/profile/login these are the the logged message in site-resp_log and they are clearly wrong. In fact the request internally should go i.e. filename requeste above should be http://site.mydomain.com:8080 (This should be taken care by my reverse proxy user should not type) URL requested :8080/profile/login Does this give some clue? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
![]() |