Colocado por Webmaster PRMWD on May 01, 2010 12:00 AM as MS SQL
How do I enable detailed errors in classic ASP?
You can enable detailed error messages for your classic ASP site defaulted to Windows/IIS by using a web.config file with the following code. This is useful in diagnosing issues with a site but for security reasons should be turned off once the site is in production:
You can also do directory listing via the web.config with the below code. You will specify the folder name based on the /web/content directory being the root. So if you have /web/content/mynewfolder the lines will look like below:
You can redirect a subdomain to a subdirectory by using ASP or ASP.net code.
When the requests are redirected using an ASP file, the URL in browser for redirected domains will show the correct domain name and the directory name where the request is being redirected. You can also redirect the requests to a specific file.