Download & Extend

[subdomain] does not work for unauthenticated user

Project:Subdomain
Version:6.x-1.7
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

Using Subdomain 6.x-1.7 and Drupal 6.19

1. First clear all Drupal caches
2. http://www.prwa.org this properly loads the home page
3. http://webmaster.prwa.org this prorperly loads the webmasters homepage (a node type with an alisas of [subdomain])
4. http://jeff-martin.prwa.org THIS JUST RELOADS THE WEBMASTERS PAGE
5. http://*.prwa.org ONLY LOADS THE WEBMASTERS PAGE FROM THIS POINT ON FOR UNAUTHENTICATED USERS

This behavior is true whereever I use [subdomain] to alias a path whether a node type, blog, forum, or whatever. However, when logged in the module works perfectly. Unfortunately for me, I just noticed the bug now. I was so happy to have subdomain working and am planning to release my web site this weekend and just noticed it does not work for unauthenticated users. I will not be able to release the web until fixed, because we promised the end user that they would have their own subdomains.

Any quick help would be greatly appreciated.

Jeff

Comments

#1

One more thing...
If testing from two computers once the http://webmaster.prwa.org home page is loaded then ONLY THAT PAGE will display from any computer accessing http://*.prwa.org.
So the site is not only broken for the specific user, but for all unauthenticated users.

#2

Another thing...

If I access the page with the ~ reference it does work. so...

http://www.prwa.org/~webmaster loads properly
http://www.prwa.org/~jeff-martin loads properly

This isn't an .htaccess problem is it? Couldn't be because it work when I am logged in.
This is only a problem for unauthenticated users. But unauthenticated users still can access the page as http://domain/~subdomain.

Whatever function is converting the [subdomain] token is not doing it when the user is unauthenticated.

#3

could it make a difference that my drupal installation is in the /drupal folder and I user .htaccess to hide the subfolder from the url?

nope... it does not, because...

http://www.prwa.org/drupal loads main home page fine
http://webmaster.prwa.org/drupal loads webmaster home page fine
http://jeff-martin.prwa.org/drupal LOADS THE PREVIOUS HOME PAGE and this page continues to load for all future calls to http://*.prwa.org/drupal

#4

sorry folks, had to move on.
we have to roll out this web and let our customers know what their home pages will be.
so I am disabiling the subdomain module and going with 'http://www.mydomain.org/[user-raw]'

good luck with the module.

#5

Is this by-design with Subdomain (due to drupal caching) or is this an isolated case?

I'm considering using this module, but most of my visitors would be unauthenticated.

Any guidance would be appreciated!

#6

Any answer on this..?? or is the module abandoned?

nobody click here