Welcome Guest, Not a member yet? Register   Sign In
RSS which is not parsed by the rewriting URL
#1

[eluser]Unknown[/eluser]
Hello everybody,

I use Code Igniter, and I like it much !

But now, I have a question for CI's experts ^^
I developped a library which is used to generate RSS Feed. I create my RSS in a subfolder placed on the root of my web folder (at the same level of application, eg). SO I have a URL like this http://dns.com/rss/test.xml to access my RSS Feed.

The problem is that URL is tried to be rewrited and lead to a 404 error (because of the non existence of a contgroller called RSS). Is there a solution without create a controller which route the user to the wright document.

Thanks for all.
#2

[eluser]Colin Williams[/eluser]
Update your mod_rewrite rules to let Apache serve that file. If you don't know how mod_rewrite works, now is the time to learn.
#3

[eluser]Unknown[/eluser]
Of course !!!

Thanks a lot Colin Williams... That seems to simple, i would never think about that.

Good bye !
#4

[eluser]Colin Williams[/eluser]
It's always good to ask yourself, "Who is serving this request?" A lot of problems can seem mystical if that question is not understood.




Theme © iAndrew 2016 - Forum software by © MyBB