Postponed
Project:
Subdomain
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
2 Mar 2011 at 00:09 UTC
Updated:
19 Mar 2018 at 22:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedUpdate: I have tested it in user subdomain mode and that breaks the site too. So admin.mysite.com works fine but the main site is broken.
What could I be doing wrong?
Comment #2
zazinteractive commentedI'm sure it's just the module
Comment #3
Anonymous (not verified) commentedMaybe if I provide a bit more information it will help debug this issue:
Drupal 6.19
Subdomain 6.x-2.0-beta1 and have also tried the dev version with the same result
As per instructions I have done the following:
$cookie_domain = '.mysite.com';
Enable wildcard DNS on your DNS hosting provider
Configure your webserver for wildcard virtual hosts - *.mysite.com
No errors show up in the subdomain module configuration page. Nothing unusual or custom changes to my .htaccess file. No modules that should be interfering with this.
What's odd is that all the admin pages work fine - e.g. www.mysite.com/admin/content/node - it's just the main site URL is broken and all nodes now live under the subdomain.mysite.com URL.
Help!
Comment #4
Anonymous (not verified) commentedCopy of .htaccess for good measure:
Comment #5
strawman commenteddid you ever get this solved..running into the same issue..homepage is not being found for the main site but subdomans works well...
If I go to the aliased home page "site.com/home" it works
But if I go to just "site.com" it shows page not found.
I've cleared caches and such plus made sure my site information had "node/1" as my home page but still nothing...
I also tried to change the default view in the subdomains settings to a custom view..upon doing that it makes my homepage show up but as the homepage to my first subdomain created...odd I must say...
Trying to sort out if anyone can give a hand on this that would be great.
Thanks
Comment #6
Anonymous (not verified) commentedUnfortunately I still haven't had a resolution on this. It sounds like we have slightly different issues. The problem for me is that all the pages on the main site get mapped under the subdomain.
So my organic group "intranet" is supposed to live at http://intranet.mysite.com. The rest of the site lives at http://www.mysite.com.
When I enable the subdomain module for some reason it thinks all my site's main pages are supposed to be in that subdomain, so my main about page is now http://intranet.mysite.com/about instead of http://www.mysite.com/about. It's really weird.
Comment #7
strawman commentedYeah, I had that initially as well..I managed to clear some of that up in the module but its still acting weird with the links depending on if i'm on a subdomain or not..
Really hoping to have some sort of fix for it...I fixed what I can so far and am still sorting it out myself but was hoping it could get solved without me hacking it apart to fix it....
Comment #8
dtrdewaele commentedThis patch fixes the thing. Also troubles with menu items are fixed with this.
Comment #9
dtrdewaele commentedComment #10
Anonymous (not verified) commentedThe patch works!
As a side note, I couldn't get the subdomain to generate for my existing group, (even though it worked for new ones) so I just manually entered it into the 'subdomain' table in the database.
Thank you!
Comment #11
fotuzlab commentedThanx coworks_dieter. patch in #8 worked for me perfectly :)
Comment #12
jvieille commentedGood!
The patch is validated a long time ago, please commit!
Comment #13
jvieille commentedMany bug reports will vanish if this is committed
http://drupal.org/node/1216158
http://drupal.org/node/1100974
http://drupal.org/node/1798322
And probably some others
Comment #14
honza pobořil commentedCould you test it with 6.x-2.x-dev, please?