CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • FYI: Apache2 virtual server, multisite installation problems & how resolved
Pages: [1]

Author Topic: FYI: Apache2 virtual server, multisite installation problems & how resolved  (Read 1419 times)

webmonster

  • Guest
FYI: Apache2 virtual server, multisite installation problems & how resolved
March 06, 2008, 01:50:25 pm
I'm a noob to Civicrm, so if anyone has suggestions, please enlighten me.

I'm running a multi-site Drupal installation that uses virtual servers having SuExec'ed users with Drupal as the document root for each. I also Alias the Drupal directory as /drupal, since I've had other Drupal modules that, for some reason I've not had time to delve into, work more reliably configured this way. It works, I leave it alone... Site access is without the alias, i.e., http://subdomain.mysite.org/.

Using the automated install, I encountered the following: The civicrm.settings.php that was created had the CIVICRM_UF_BASEURL using the Apache Alias. This caused pathing problems which I could not resolve without changing the document root and only using the alias to access Drupal.

Civicrm now works, but IMHO, this is inelegant. This site is accessed as http://civcrm.mysite.org/junky_alias/. The document root index just redirects to the alias, so no changes to users.

Trivial, I know, but I'm a nitnoid and value consistency.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: FYI: Apache2 virtual server, multisite installation problems & how resolved
March 07, 2008, 01:40:17 am
Hm, I’m not sure I get what your current state is. Does both Drupal and CiviCRM work at the root of the domain now, or does any of them require the alias?

What is your Drupal’s $base_url and your CiviCRM’s CIVICRM_UF_BASEURL set to?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • FYI: Apache2 virtual server, multisite installation problems & how resolved

This forum was archived on 2017-11-26.