Gents,
Sending a followup to the previous question... (http://lists.drupal.org/pipermail/support/2011-April/017586.html)
If a main site is http://mainsite.com, and a subsection of it needs to be drupal... then
ProxyPass /drupalsite http://mydrupal.com
ProxyPassReverse /drupalsite http://mydrupal.com
Things break completely... since the URLs drupal seems to be generating are not aware of the new /drupalsite/ addition.
So, after doing some research online, and another article here: http://groups.drupal.org/node/5242, it seems 2 things need to be modified:
1.) $base_url needs to read $base_url = 'http://mainsite'
2.) .htaccess file needs to reflect the /drupalsite... ie RewriteBase /drupalsite
Now, should the $base_url reflect the mainsite.com or the mydrupal.com where drupal is installed?
A bit lost here guys, if someone could help, that would be awesome. At the end of the day, the drupal site should be masked behind the http://mysite.com/drupalsite URL structure.
Best,
V
Comments
FOLLOW THIS
FOLLOW THIS ARTICLE!
http://www.scalingbits.com/drupal/apacheproxy
Given what you have described
Given what you have described above, $base_url should be set to "http://mainsite.com/drupalsite". Make sure you add it without any trailing slashes. You should only need to change RewriteBase if Drupal is installed in a subdirectory of the server's DocumentRoot (or a subdirectory Virtual Host's DocumentRoot if you are using virtual hosting).
drupa apache proxy
Here is my solution is anyone still needs help:
Hope that helps