Sorry to clog up the issue queue but here's another one.
I have the module set up to generate subdomains for users/node authors and have adjusted the pathauto settings for users to "[subdomain].domain.com" (using pathauto 2.3) but the URLs generated are "http://domain.com/subdomain.domain.com".
I saw this issue was posted before and resolved but the original poster never actually said what solved it! Does anyone have any ideas?
Comments
Comment #1
setvik commentedset the path to "[subdomain]"
Comment #2
deadman commentedJust tried that, but on creating a new user it generates the URL: http://domain.com/subdomain
Comment #3
setvik commentedDid you edit pathauto settings and set the "tilde ~" character to "No Action: do not replace"?
Comment #4
deadman commentedYes that's set, I also double checked all the patches and they seem fine too. Pathauto is version 2.3 so that shouldn't be causing any issues.
Comment #5
vwX commentedSame issue here, can't get it to rewrite. Subdomains return page not found.
Comment #6
setvik commentedOn the Subdomains settings screen, do all the "Subdomain Prerequisites" checks pass?
If not, which ones fail and what is the text shown below each one?
Comment #7
setvik commentedComment #8
vwX commentedFixed. Not sure what I did to get it working, but I think it may have been a conflict with the path auto settings. Not the character filter, but the paths themseleves. If I can get it to re-occur I'll do some more debugging.
Comment #9
deadman commentedStill an issue for me. All the tests pass, but I had to modify subdomain_debug.inc to use cURL instead of file_get_contents as my host doesn't support file_get_contents from a URL.
previous to that, it failed on the webserver section, showing nothing at all under HTTP_HOST, QUERY_STRING etc. Using cURL instead, everything passes as it should do.
I don't think this is the cause though as visiting http://subdomain-test.domain.com/subdomain/test with a browser shows the correct output.
Comment #10
deadman commentedIt seems there's an issue with the tilde. I've managed a temporary fix by changing the pathauto path settings from "[subdomain]" to "~[subdomain]" and everything now works as it should.
I'm not sure where the tilde is getting removed/not added but maybe this will help pinpoint the problem
Comment #11
setvik commentedDo you have global redirect installed?
I ran across a similar issue with the global redirect having issues with the tilde "~" character.
Comment #12
deadman commentedno it's never been installed. It's a mystery why it's doing that, but my edit above seems to work fine. I've had the module running nicely since my last post and haven't noticed anything broken yet.
Comment #13
setvik commentedComment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #15
Anonymous (not verified) commentednvm