Hur gör man för att konfigurera modulen subdomain?
Hej!
Har satt upp en multisites installation med separata databaser på en WampServer.
Jag har tänkt att använda modulen Subdomains men inte lyckats med konfigurationen.
Jag har följt anvisningarna enligt README.txt för Subdomains.
Jag har skapat en "virtual host" för varje site enligt nedan
VirtualHost *:80
ServerName exempel.swe
ServerAlias *.exempel.swe
DocumentRoot "C:\wamp\www\drupal"
ErrorLog "logs/exempel.swe-error.log"
CustomLog "logs/exempel.swe-access.log" common
VirtualHost
VirtualHost *:80
ServerName exempel2.swe
ServerAlias *.exempel2.swe
DocumentRoot "C:\wamp\www\drupal"
...............osv.
Felen som uppstår i (Subdomain settings) är följande:
Web server:
HTTP request to http://subdomain-test.exempel.swe/subdomain/test returned the following result:
• HTTP_HOST:
• QUERY_STRING:
• SCRIPT_FILENAME:
• drupal_get_normal_path:
Your web server is not routing subdomains to your Drupal directory.
Possible Solutions:
If you're running Apache, confirm you have the wildcard directive, ServerAlias *.exempel.swe, in the VirtualHost declaration in your Apache configuration
Confirm there are no rogue URL rewrite rules in your Apache configuration or .htaccess file
Drupal's inbound URL rewriting:
HTTP request to http://subdomain-test.exempel.swe/subdomain/test resulted in an internal Drupal path of . It should have been ~subdomain-test/subdomain/test
The custom_url_rewrite_inbound() function in settings.php is rewriting the internal path incorrectly. Did you patch settings.php? See readme.txt for instructions.
De här verkar fungera:
DNS server - Working
Drupal's outbound URL rewriting - Working
$cookie_domain in settings.php - Set
Är det någon som har en idé om vad som kan vara fel?

Ical feed