Solved

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

Posted on 2009-05-12
6
465 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 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