Error: Directory Listing Denied

Topics: Developer Forum, Project Management Forum, User Forum
Jun 28, 2010 at 2:59 PM

Dear Friends,

Following is my configuration:

  • IIS 6.0 on Windows Server 2003 (Standard Edition) running on cloud server
  • IIRF 2.1 installed using msi. IIRF is properly running since I am able to see status using
  • I have created site in IIS under IP address = (All Unassigned)
  • My application is developed in VS2008. (
  • In IIS  I have as an appPool, the one using settings of DefaultAppPool
  • I have got my DNS settings changed to * as a result when I ping <anystring> I get reply from the server.

I have following rules written in my IIRF.ini file which is in www (root) older.....

RewriteEngine ON
StatusUrl /iirfStatus RemoteOk
RewriteLog c:\logs\iirf
RewriteLogLevel 3
CondSubstringBackrefFlag  *

# Extract the subdomain part of
RewriteCond %{HTTP_HOST} ^(.*)\.mydomain\.net

# rewrite all requests passing as argument the subdomain
Rewrite ^.*$

What I want to achieve is :  ====rewrite to ====>

Problems: Whenever I try to access I get error saying :
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

Strange thing is whenever I access my site as : ==> IIRF log is not getting updated.

Please help!



Jun 28, 2010 at 8:52 PM

If your rule really is as you say, then you have no rule.  You said you use this:

# rewrite all requests passing as argument the subdomain
Rewrite ^.*$


But "Rewrite" is not a directive. You need to use RewriteRule. This problem would have been noted as an error or warning in the IIRF log file as well as in /iirfstatus.  


Jun 29, 2010 at 6:00 AM

Thanks a lot for quick reply Cheeso!

I have corrected the IIRF.ini using "RewriteRule" now. But the problem still persists. I think I got the reason and would like to have confirmation from you.

I am running this website on cloud server. This server has other three sites running on it. A record of all sites is same that is ip address of my cloud server. As I said earlier I have changed DNS entry of to * It's A record is also pointing to IP address the of cloud server

Now my IIRF.ini is in the root folder of It seems that IIS is not able to take my request to vdir of As there is no unique IP associated with

I have reached to this conclusion because as I said whenever I try to access the site using log file is not getting updated, and I get "Directory Listing Denied" error.


It seems like I need to have at least one unique IP assigned for on the cloud server.

Please confirm!