<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>I have a project that requires a reverse proxy server be installed in front of Drupal.<br>I have set the following parameters in settings.php in Drupal:<br><br>$base_url = 'http://www.mywebsite.com';<br>$conf = array(<br>&nbsp;&nbsp; 'reverse_proxy' =&gt; TRUE,<br>&nbsp;&nbsp; 'reverse_proxy_addresses' =&gt; array('192.168.1.1', ),<br>&nbsp;);<br><br><br>where 192.168.1.1 is the IP address of www.mywebsite.com.<br>The IP address of Drupal is 192.168.1.2 and the IP address of the database is 192.168.1.3.<br>Drupal and database servers can't be accessed from public.<br><br>When I go to http://www.mywebsite.com, I can see Drupal log in page.<br>However I am unable to login from this page.<br>After I enter my username and password and click Submit, I will be returned to the same page.<br>However if I go to http://192.168.1.2 website directly, I can login like usual.<br><br>Proxy config on Apache (webserver):<br>

<br>

&lt;IfModule mod_proxy.c&gt;<br>

ProxyRequests Off<br>

ProxyPass / http://192.168.1.2/<br>

ProxyHTMLURLMap http://192.168.1.2 /<br>

<br>

&lt;Location /&gt;<br>

&nbsp;&nbsp; ProxyPassReverse /<br>

&nbsp;&nbsp; SetOutputFilter proxy-html<br>

&nbsp;&nbsp; ProxyHTMLURLMap / /<br>

&nbsp;&nbsp; RequestHeader unset Accept-Encoding<br>

&lt;/Location&gt;<br>

<br>

ProxyHTMLLogVerbose On<br>

<br>

&lt;/IfModule&gt;<br><br>Does anybody know how to get around this problem?<br>Any advice will be really appreciated.<br>Thanks!<br><br>Regards,<br>Ivan<br><br><br><br /><hr />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>