Directory listing still allowed even when set to no?

Mar 1, 2011 at 1:06 PM
Edited Mar 1, 2011 at 1:34 PM

I am new to using Cassini, and I am very pleased with how well it works. I have set the parameter of /nodirlist from the CL using /nodirlist:- and /nodirlist:+. Either switch still allows directory listing. Am I missing another setting?

There are two more things I am curious about:

  1. Where to set the default page to be served when accessing the virtual path
  2. How to use sc.exe to create a service to autostart Cassini at login. I have configured this w/o success  thus far.

This is a great application; I am using it to host a ASP.NET application and I am also using it as a replacement to the Visual Studio dev server. Keep up the great work :)

Update: I was not using default.aspx as my default page; I was using index.aspx (personal preference). I created a default.aspx page and used response.redirect to point to my main page which resolved the directory listing problem.

Coordinator
Mar 12, 2011 at 12:12 AM

i believe the directory listing was hardcoded open in the original source to facilitate mvc routing. I will check it out.