Please can you help?
Is the Drupal 6 subdomain module (that does not need .htaccess changes) working on a site where Drupal is installed in a subdirectory?
Should it work on 6 in a subdirectory 'out of the box' ? ... or are changes needed?
Thank you for any help.
Comments
Comment #1
setvik commentedI haven't tested it in a Drupal subdirectory installation. I'll try and test it sometime this week.
But if you or anyone else can beat me to it and leave a comment as to whether it works out of the box, that would be appreciated.
Thanks
Comment #2
NicoDruif commentedHi there,
I posted this question here as well: http://drupal.org/node/824018, not sure this is the right place?
This might be a simple one for the subdomain experts. I have two Drupal installations/websites running on the same webserver. One is a public website, which runs on the root www directory, the other one runs from a subdirectory. Via the webhost's control panel we forward a subdomain (like subdomain.domain.com) to the subdirectory (to domain.com/subdirectory). My question is about the website in the subdirectory, and the wrong url alias it generates in my opinion... Because when accessing the site via subdomain.domain.com all the url aliasses (and hyperlinks/menu items) still have the subdirectory in it, like 'subdomain.domain.com/subdirectory/content-title'. I would like it to be 'subdomain.domain.com/content-title', without the subdirectory being mentioned...
The subdirectory Drupal installation seems to find that it's baseurl is subdomain.domain.com/subdirectory, instead of just subdomain.domain.com. When I try to change this in settings.php by setting the base_url variable to subdomain.domain.com, the url aliasses are like I want them to be, and even menuitems are functioning correctly, but all the links to css files, images etc. are broken. Drupal seems to search for these files in the wrong place when it's trying to open an image like subdomain.domain.com/sites/all/themes/themename/logo.png. The file can only be opened at subdomain.domain.com/subdirectory/sites/all/themes/themename/logo.png. What I am doing wrong here? Strange right?
I thought it might have something to do with http://www.fractalomega.com/node/1 and http://drupal.org/node/37645 but I'm not sure.
Hope someone can help me out here! Thanks!