Solved

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

Posted on 2009-05-12
6
457 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now