Welcome Guest, Not a member yet? Register   Sign In
Forced URI Suffix
#1

[eluser]mynameiszanders[/eluser]
Hello all, hope your having a good day! (Thought I'd be polite on my first post Tongue)

I've been using CodeIgniter for the better part of 6 months, well playing with it as a hobby really, I have nothing to show for it on the interweb. I have am currently creating a Template Class, which will go up here shortly, and have plans to create my own Output Class Extender.

When adding a URI Suffix (which works perfectly well, btw), it is not actually required!
For example, a page can be accessed at
'/controller/function.htm'
but not
'/controller/function.html' (404 Error)
which is what I want.

However the page can also be accessed by
'/controller/function' (without the suffix being present).

My question is... How do I force the suffix to be present?? Is there an easy way without changing any or much of the code, or do I have to add this functionality into the URI Class (which I was going to extend anyway, but for different reasons...)?

Thankyou in advance to any one who replies Smile


Messages In This Thread
Forced URI Suffix - by El Forum - 05-03-2008, 11:05 AM
Forced URI Suffix - by El Forum - 05-03-2008, 11:15 AM
Forced URI Suffix - by El Forum - 05-03-2008, 11:19 AM
Forced URI Suffix - by El Forum - 05-03-2008, 11:24 AM
Forced URI Suffix - by El Forum - 05-07-2008, 02:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB