Solved

Multisite issues with .com urls Post installation " Drupal 6.x

Posted on 2009-05-12
6
463 Views
Last Modified: 2012-05-06
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?
Eg: website.com/drupal/sites/website/files

Or fix IIS?
0
Comment
Question by:ddotson
  • 3
  • 2
6 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 350 total points
ID: 24371049
Hi,

probably the 'drupal/sites/...' path does not have the correct access rights applied.

find that target location in windows explorer, right click the 'sites' folder, choose security and give read/execute rights to the interactive web user (i.e. IUSR_<servername>) or to 'everyone' user if you don't care about who gets access.

Cheers.
0
 

Author Comment

by:ddotson
ID: 24395109
Sorry for the delay in getting back to you...

I've checked these permissions and they appear to be correct.
0
 

Author Comment

by:ddotson
ID: 24445154
Do you have any other suggestions?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 37

Expert Comment

by:meverest
ID: 24446518
try adding a mime type for .com to something like "text/html"

Cheers.
0
 
LVL 3

Assisted Solution

by:Anybody13
Anybody13 earned 150 total points
ID: 24582251
Hello,

do I understand you right?

Without .com your Server doesn't make any problems anymore, but if you delete the .com your drupal doesn't work anymore, because you've installed it with the other directory-name?

If I am right with this, have a look at your settings.php and check, if the folder is set there (delete the .com than) and search all your database-tables for the phrase "website.com" and replace it with "website".

After that change it should work, because drupal now thinks you've installed it into the folder "website" correctly.
0
 

Author Comment

by:ddotson
ID: 24696738
Unfortunately,  I am not longer able to work on this issue.  Points awarded for participation.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question