Multisite issues with .com urls Post installation " Drupal 6.x
Posted on 2009-05-12
I recently installed Drupal on my webserver. When I create a new site (via the Drupal interface) it creates the site in IIS as "website.com". When I try to access the folder website.com/drupal/sites/website.com/ it gives me this error message:
You are not authorized to view this page You do not have permission to view this directory or page due to the access control list (ACL) that is configured for this resource on the Web server.
Please try the following:
* Contact the Web site administrator if you believe you should be able to view this directory or page.
* Click the Refresh button to try again with different credentials.
HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.
Internet Information Services (IIS)
IIS is trying to serve the .com as the filetype .com which triggers a username/password prompt and then the above error message.
Its not folder permission issue, as I can rename the folder to anything not .com and it works (.org, .net, etc) but then drupal breaks for the website...
Note: this is not a drupal specific issue, though using multisite with drupal is the only time I'd need to name a folder "something.com".
Is there a way I can modify Drupal's code so it doesn't require the .com?
Or fix IIS?