<div>Dear Sir<br><br></div>
<div> </div>
<div>We need to proxy pass an url in which <a href="http://my.domain.com">my.domain.com</a> need to get
<a href="http://drupal.apps.server.com">drupal.apps.server.com</a>. We configured rewrite and is working fine. </div>
<div> </div>
<div><br>Then we configured proxypass and while accessing <a href="http://my.domain.com">my.domain.com</a> we are
getting the contents but we are unable to login to application (Drupal admin
page). If you are accessing directly through <a href="http://drupal.apps.server.com">drupal.apps.server.com</a> we are able
to login and access the admin page. </div>
<div> </div>
<div><br>Please see our configuration :</div>
<div> </div>
<div> </div>
<div>server {</div>
<div> listen 80;</div>
<div> server_name <a href="http://my.domain.com">my.domain.com</a>;</div>
<div> location /{</div>
<div> proxy_pass <a href="http://drupal.get">http://drupal.<font color="#000000"><font style="TEXT-DECORATION:none">get</font></font></a><font color="#000000"><font style="TEXT-DECORATION:none">
<a href="http://apps.server.com">apps.server.com</a></font></font>/;</div>
<div> proxy_set_header X-Forwarded-Host $host;</div>
<div> proxy_set_header X-Forwarded-Server $host;</div>
<div> proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;</div>
<div> }</div>
<div> }</div>
<div> </div>
<div><br>Can anyone please help us on it.</div>
<div> </div>
<div><br>Thanks</div>
<div>Geo</div>