CodeIgniter Forums
RSS which is not parsed by the rewriting URL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: RSS which is not parsed by the rewriting URL (/showthread.php?tid=14706)



RSS which is not parsed by the rewriting URL - El Forum - 01-12-2009

[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.


RSS which is not parsed by the rewriting URL - El Forum - 01-12-2009

[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.


RSS which is not parsed by the rewriting URL - El Forum - 01-12-2009

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

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

Good bye !


RSS which is not parsed by the rewriting URL - El Forum - 01-12-2009

[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.