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.

I have a Windows server running for development and I noticed that on my local machine which uses the local network to communicate to the server I get non-detailed error messages from IIS. For example, when my ColdFusion server throws an error, I get the standard IIS 500 error.

I figured out how to enable showing detailed errors, but that shows detailed errors for all clients. Is it possible to only enable details errors for a single subnet (192.168.34.0/24) and show the non-detailed errors for any other client?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, since you're on IIS7 you can use URL Rewrite. Here's a blog post I put together on achieving what you're asking about.

share|improve this answer
    
That just seems like such an inconvenient way to do things. I would think Windows would make it a bit easier than that, but I guess if that's what I gotta do. –  Dave Long Aug 2 '11 at 14:35
    
Yes I agree. I've thought for years that it would be nice to have an ApprovedIPs type property for detailed errors. Since it doesn't, that URL Rewrite workaround will do the trick. –  Scott Forsyth - MVP Aug 2 '11 at 14:42

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.