Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We earlier used IIS web server. To redirect some URLs ending with .asp, we created a directory structure based on URL's to be redirected; wrote VB script in .asp files to redirect present page to desired page and placed these .asp files in appropriate directories. Finally copied this directory structure to the docroot of IIS webserver.

Due to some reasons, we had to switch to IHS web server. As IHS does not support .asp files, we can't use same directory structure having .asp files to redirect our URLs.

Please let me know the default file type that is supported by IHS webserver (as the default filetype supported in IHS is .asp).

Thanks in advance!
SK

share|improve this question

1 Answer 1

There's no such notion of a "default file type" -- in IIS "asp" is parsed by the server. In IHS or Apache, you should do you redirects with explicit server configuration such as Redirect, RedirectMatch, or mod_rewrite.

If you're already using something like PHP, you might find it convenient to sprinkle redirects in server-parsed PHP files but that's generally unwise.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.