Now I am not that new to Drupal, but this issue is new to me.

I just installed Drupal to a server (http://www.subdirectory.website.com/folder/drupal) and upon trying to view the directory where Drupal is installed I get this:

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

I searched through the forum and found a thread that mentioned editing the $base_url in settings.php but this did not solve the problem.

What could it be and does anyone have any experience with this?

(p.s. I don't have shell access to this server. Also, the server belongs to the IT department of an organisation for which I am updating a website
do I need to contact them to turn something on or off or can I fix this with some settings?).

Thank you very much in advance.

Comments

iwankgb’s picture

You probably need to specify DirectoryIndex in httpd.conf/.htaccess.

PartisanEntity’s picture

.htaccess (the one in the drupal folder) currently has this:

# Set the default handler.
DirectoryIndex index.php

Which should be fine, right?

iwankgb’s picture

Is .htaccess intepreted by apache (AllowOverride All in httpd.conf for drupal directory)?

PartisanEntity’s picture

It's not an Apache server, it's IIS.

dman’s picture

Well then you'll need to configure IIS to run PHP!
Including setting the default document handler.
And search around for the plugin that will do clean urls for you. NOTHING in .htaccess will make any difference to an IIS site.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

PartisanEntity’s picture

^bump

Really need help on this,
Thank you

iwankgb’s picture

Sorry, I work on Linux.

PartisanEntity’s picture

I do too usually :)

I am not the one who manages the server, I spoke to the server admins and they prefer Linux too, but they have yet to get back to me on whether they can move it to a LAMP server.

I do all my work in Linux too, Ubuntu ;)