Avatar of AndyKeen
AndyKeen
Flag for United Kingdom of Great Britain and Northern Ireland asked on

PCI Compliant - Custom Error Pages - Default web site - wont work!

Hi All.

We have a client who is failing port 80 - PCI compliance checks.

Navigating to an unknown directory gives away too much information for PCI - See below.

404 Error we dont want
We have tried a few solutions but to no avail. I have re-configured the web.config file as per -  (http://msdn.microsoft.com/en-us/library/994a1482(v=vs.100).aspx

Also added a custom error page in the Inetpub folders for the 'Default Web Site' but the above page is still shown.

Does anyone have a solution to this please as my customer needs to become complaint.

Thank you
Regards
Andy

The st
Microsoft IIS Web ServerSBS

Avatar of undefined
Last Comment
AndyKeen

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Alan Hardisty

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
AndyKeen

ASKER
Hi Alan.

Thanks for the reply.

In answer to your question, I am not sure - but I don't think they do.

They heavily use RRW which is on port 443 and email is picked up on iPhone, which I believe is SSL secured so port 443 again - and I am not sure how to close port 80 from within SBS 2011.

I can test this so if I can close port 80 and test that would be great - Can you advise how to do this?

Thank you
Andy
Alan Hardisty

The port will be open on your firewall / router.  If you stop port forwarding port 80 to the server the problem should go away.

Port 80 on SBS is only used for website traffic and if you don't have any sites hosted on the server (other than the default one), then it won't cause you any pain.

Alan
AndyKeen

ASKER
Thank you Alan.

let me check this out and I will come back to you.

Regards
Andy
Your help has saved me hundreds of hours of internet surfing.
fblack61
Alan Hardisty

No problems - here if you get stuck or have any further questions.
AndyKeen

ASKER
Hi Alan.

Ok I have closed port 80 on the SBS Firewall.

What I have found is that if I port check, port 80 is closed if I query it by IP address, but its still open if I query it via the URL.

Closing port 80 on the SBS windows firewall did not help.

The client has Microsoft TMG installed - can I close port 80 on here and if so - do you know how.

Thank you.
Alan Hardisty

Ah - that's a very different ball-game!

Been a long time since I've looked at TMG.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
AndyKeen

ASKER
Join that awful club Alan......
AndyKeen

ASKER
Can I move back to my original request - that is to configure the custom error pages for IIS / SBS2011.

Can anyone assist with this please - see my question at the top.

Thank you
Cris Hanna

It's not clear from question which version of SBS your client is running.
How many active NICs in the server and what are they connected to?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
AndyKeen

ASKER
Hi Cris.

Thank you for your help - sorry for the delay in replying.

The client has a bit of a strange setup - were talking SBS2011 with once Nic going to a Microsoft TMG Box which in turn has 2 nic cards - one facing-in one facing-out going to.... A Safe@office firewall box - this in turn has two BB connections - One Fibre and One ADSL copper.

Thank you
Cris Hanna

You need to disable port 80 forwarding on both the firewall and the TMG box.
AndyKeen

ASKER
Thanks Chris.

I have done this on the windows firewall without success, I am not sure how to do this on TMG.

Do you know this software please and if so - how to do it.

Thank you.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Cris Hanna

Let me see what I can find for you...do you know what version of TMG?
SOLUTION
Cris Hanna

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Cris Hanna

The other thing I would mention here is that you have two boxes capable of doing the same thing   TMG and the safe@office device.   So you have a bit of an out of the box configuration.

TMG is also discontinued by Microsoft.   I'd get rid of that.

Is your customer storing Credit Card information on their LAN somewhere (which is a very bad practice)
Most of us don't recommend screwing with IIS Default Website as it's likely to wind up breaking OWA or RWA
AndyKeen

ASKER
There were two solutions to this issue - firstly the 404 error was being generated by the TMG box NOT SBS - this was my error (Someone had enabled IIS on TMG) - once I stopped IIS on the TMG server the 404 error went away, however Security Metrics PCI then came back with another port 80 issue - so as per the comment and support above I closed Port 80 on the checkpoint firewall after having created rules to allow 443 traffic through first - worked a treat.

For this reason I felt both experts above gave good advice and split the points between them.

Thank you Both
(Sorry for the delay in accepting a solution)
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes