After making some server changes upstream, I can no longer preview or submit pages on my site. My situation is that all requests hit a server in front of the drupal box, and ASAPI rewrites are sent downstream. So www.example.com hits the load balancer as secure.company.com/site1, then ASAPI rewrites that to drupalbox.company.com:9200, then I used port based virtual hosting on the drupal box to direct the request to drupal. Initially I had issues accessing the site, but I made a change to settings.php to add ini_set('session.cookie_domain', 'secure.company.com'); and that did the trick. I thought everything was working, until I made an edit to a page, when I hit preview, I get a page cannot be displayed. I can see in the url, that the /site1 is being dropped from the ASAPI, so the request is going directly to the load balancing boxes. If I add /site/yada yada to the url, it works.
The pages that I have created with POST info work correctly, I can login, search, etc all without issue, but there is something different about the preview and submit buttons that cause the site to fail. All of my custom php pages work.
At first I looked into session collision issues and cookies, but I do not think that is the case any longer. There is something unique with the preview and submit of pages/forums entries that causes the ASAPI to fail.
Any suggestions, thoughts, ideas?????
Comments
anyone have any thoughts?
anyone have any thoughts? I'm struggling here.
Thanks