I have installed the module in my test environment D6.9/Lighty/Php5:
followed readme.txt but but i fails at beginning: dns fail to resolve...
i have setup wildcard on dns, so i can ping test-1.mysite.com with success, but not from inside drupal (it seems).

where i am wrong, thanks for help.

Comments

marcellodj’s picture

Step 1 now it works, problem due to dns propagation (maybe).
But step 2 fails with 404 error, attached my lighty rewrite: my drupaldir is under home/admin
$HTTP["host"] =~ "([^.]+)\.([^.]+)$" {
evhost.path-pattern = "/home/admin/%2.%1/"
}

# Apply the following drupal rewrite rules to subdomain URLs
# moving subdomain to the 1st argument in the path
# e.g. bob.example.com news.mysite.net
$HTTP["host"] =~ "^([^.]+)\.([^.]+)\.([^.]+)$" {
url.rewrite-final = (
# More than one argument
"^/([^.?]*)\?(.*)$" => "/index.php?q=_%1/$1&$2",
# No arguments
"^/([^.?]*)$" => "/index.php?q=_%1/$1",
)
}

any help?

setvik’s picture

I need more details to help.

What's the domain name you're trying to setup?
Are you unable to access any page on your website? or just subdomain pages?

If you're able to access the admin pages on your website, what are the error messages that appear at:
http://yourwebsite.com/admin/build/path/subdomain ?

setvik’s picture

Status: Active » Postponed (maintainer needs more info)
setvik’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)