Forum Discussion
Alan_Stevens_93
Nimbostratus
Dec 04, 2008Default Document not displaying in IIS
Hi all,
new to the big IP admin side of things so bear with me.
We have 2 IIS6 nodes serving up static content behind a big IP virtual. There are no iRules or profiles in place for this load balanced setup. The pool is using gateway_icmp for a health monitor. The send string is GET / no return strung.
here is what my problem is:
a user can go to http://www.sitename.com and is served the default document. A user can go to http://www.sitename.com/support/ and is served the default document. However, if a user tries to go to http://www.sitename/support - without the trailing /, the session times out on 404. If I go local to the server, I can have the page delivered with either method.
Is there a configuration change that can be made to allow the Big IP to pass the request correctly? Or perhaps an iRule?
Thanks for the help.
- James_Quinby_46Historic F5 AccountThis sounds like the ol' trailing slash problem, which has been a bane of webmasters for years.
- Alan_Stevens_93
Nimbostratus
Thanks for that train of thought. This rule: - James_Quinby_46Historic F5 AccountI read that iRule to say "for all URIs that do not already end in '/', append a '/'". This would include any final files as part of the URI string, so yeah, it's a bit heavy-handed.
- hoolio
Cirrostratus
I'd try investigating what exactly is failing before taking the sledgehammer approach of trying to modify the requested path in an iRule. I'm not sure why you'd get a failure if all you're doing currently is accepting an HTTP request and load balancing to an HTTP server. - Alan_Stevens_93
Nimbostratus
Thanks for the help guys. A question I haven't been able to find an answer to is this: is there a generic http rule that you should put in place on any virtual to handle traffic? somethign like this? - hoolio
Cirrostratus
A URI should never be null--it's not valid. If a user enters www.example.com in a browser, the browser must append a trailing slash and the protocol: http://www.example.com/. The URI for this request would then be /. So no rule is necessary to ensure the client doesn't make a request with a null URI.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects