I am posting a solution since by now I have solved the problem. http://swik.net/MySQL/Planet+MySQL/Operating+a+Drupal+Site+behind+a+Reverse+Proxy+Server+(Apache)/dcslr
I am posting so that if some one else faces the same problem they may get a solution.Which is mentioned on the above link you can go there directly and read it. [code] When you install drupal on a server which is behind apache reverse proxy you need to tell that drupal installation about the presence of reverse proxy in your nework. That is the core of the problem. To achieve this you need to do do following in your drupal installation folder go to sites/default/settings.php and change the following $base_url="http://www.mydomain.com/; then $cookie_domain = 'proxyserver.yourdomain.com'; if above both are same then place them same values then uncomment $conf = array( then uncomment 'reverse_proxy' => TRUE, then 'reverse_proxy_addresses' => array('192.168.0.1',), replace it by IP of your apache reverse proxy and uncomment below it ); [/code] Hopefully it should work. Keywords to search for this are if you are using drupal "drupal behind apache reverse proxy" You can get same problem if you do not use drupal the thing is any web server running behind a proxy needs to know how to handle requests which are forwarded by proxy. Some one if comes across same situation do reply here make a blog etc it will help others. -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
