开发者

Apache's ErrorDocument directive for asp/IIS?

now i saw a very good php script and i rewri开发者_开发问答te it to asp the script here:Fantastic Animation PHP/CSS/jQuery Error pages but know iam in big problem how i can use .htaccess in asp see how it work

ErrorDocument 500 /error.php?code=500

can i use .htaccess in asp please tell me because iam newbie in it because know i convery error.php to error.asp


.htaccess is a web server thing (primarily Apache), not a PHP or ASP thing. If you have your system set up that Apache serves ASP pages (passing through to IIS or using another ASP interpreter), sure, you can use .htaccess with it. But if you're using IIS directly, IIS has its own mechanism for doing things like mapping error pages and such.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜