|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
page cannot be found error after redirect to .shtml with IIS 6
Greetings life savers,
I am currently migrating some applications from an NT/IIS ? server to a Windows 2000 / IIS 6 server. Some apps are using .Net, some are not. One application in particular is composed of .asp and .shtml files. For instance, if a login fails, the user is directed towards a standard .shtml file that contains information. IIS 6 seems to be unable to display these .shtml files for some reason. When typing n the explicit URL of an .shtml file, I receive a "The page cannot be found" error. The file is exactly where it should be. The Web application files reside inside of a virtual directory. From what I can tell in the IIS Manager, .shtml files should be able to run. I see that "all verbs" is selected for .shtml files in Properties->Virtual Directory->Application Configuration. What the heck!? I expected problems with truly dynamic pages, not .shtml files. Have a great day!
__________________
"I'm between quotes right now" |
|
#2
|
||||
|
||||
|
Hi,
I think you are having a similar problem that I had with PHP files. Open up the IIS 6 management console, expand the server name and click Web Service Extensions. Right-click Server Side Includes and select Allow. If this doesn't work, try allowing all ISAPI and CGI extensions. If this is the problem, this happens because IIS 6 only runs extensions which have explicitly been allowed. By default, everything like shtml files is disabled for better security. HTH, Edwin |
|
#3
|
|||
|
|||
|
Edwin, you are the man!
And the fact that PHP is even mentioned in the solution makes it that much sweeter. I thought I had covered this area when looking in the application configuration. This knowledge also saves me from running into WebDav trouble later. Much thanks, John Quote:
|
|
#4
|
||||
|
||||
it's sort of annoying that web service extensions bit - I've wasted hours before when my sites have not been working because of it! |
|
#5
|
|||
|
|||
|
This worked for me too... I couldn't get .php files to work.
Thanks. One more problem I have with IIS 6 is that ASP processes script really slowly. Do you know what that could be and how to fix it? Travis Cable |
|
#6
|
|||
|
|||
|
Quote:
What kind of pages? Is a database involved? asp.net? |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > page cannot be found error after redirect to .shtml with IIS 6 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|