?
Solved

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

Posted on 2009-05-12
6
Medium Priority
?
467 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 1400 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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
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 600 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

741 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