D
David
Hi all,
Using C# .NET 1.1
I am creating a CMS type of application. So far so good. I have a templating
system in place that works fantastically. I can remap non-real files and
folders and get the CMS system to handle it. This is working quite cool.
I have a 404 handler in place which helps to manage the non-real files and
folders. This is done at IIS level rather than .NET level. There is a reason
for this, but that is of no consequence to my problem, but it is worth
mentioning.
In IIS, I have changed the default document to call default.aspx and removed
all others. The idea being that the .NET processor should get called when I
go into the cms folder...
such like...
http://localhost/cms-folder (note, cms-folder is the virtual directory
mapped to a real directory)
should call (due to IIS configuration)
http://localhost/cms-folder/default.aspx
However, I don't want to have to have a default.aspx. The CMS should handle
it like it does with subfolders. If I was to call for example
http://localhost/cms-folder/subfolder then my CMS picks up on this and
handles it correctly (using the 404 handler). However, if I just do
http://localhost/cms-folder the .NET process is not even called, even though
my default file is a .aspx page (even though it is non-existant)
I currently get "Directory Listing Denied" and a 403 error in my log files.
Do I need to map the 403:14 custom error in IIS to my ASPX processor?
I will be unable to create any ISAPIs as the destination of this project
will be on a shared host, where they do not allow ISAPIs to be installed,
however, I can get certain other configuration changes within IIS done if I
need them.
How can I get this to work?
Thanks.
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
Using C# .NET 1.1
I am creating a CMS type of application. So far so good. I have a templating
system in place that works fantastically. I can remap non-real files and
folders and get the CMS system to handle it. This is working quite cool.
I have a 404 handler in place which helps to manage the non-real files and
folders. This is done at IIS level rather than .NET level. There is a reason
for this, but that is of no consequence to my problem, but it is worth
mentioning.
In IIS, I have changed the default document to call default.aspx and removed
all others. The idea being that the .NET processor should get called when I
go into the cms folder...
such like...
http://localhost/cms-folder (note, cms-folder is the virtual directory
mapped to a real directory)
should call (due to IIS configuration)
http://localhost/cms-folder/default.aspx
However, I don't want to have to have a default.aspx. The CMS should handle
it like it does with subfolders. If I was to call for example
http://localhost/cms-folder/subfolder then my CMS picks up on this and
handles it correctly (using the 404 handler). However, if I just do
http://localhost/cms-folder the .NET process is not even called, even though
my default file is a .aspx page (even though it is non-existant)
I currently get "Directory Listing Denied" and a 403 error in my log files.
Do I need to map the 403:14 custom error in IIS to my ASPX processor?
I will be unable to create any ISAPIs as the destination of this project
will be on a shared host, where they do not allow ISAPIs to be installed,
however, I can get certain other configuration changes within IIS done if I
need them.
How can I get this to work?
Thanks.
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available