Welcome Guest, Not a member yet? Register   Sign In
HOWTO: rewrite requests for images, css and js to different folders for each application?
#2

[eluser]slowgary[/eluser]
What about an asset controller instead? It'd probably be slightly more overhead than mod_rewrite, but would be easier (for me anyways) to figure out. I'd probably store the assets above the root, then in my controller I'd check the url to know which app/folder/file to grab. The added benefit to this method is that you could secure hotlinking by defining a constant in your applications and checking for it in the assets controller.


Messages In This Thread
HOWTO: rewrite requests for images, css and js to different folders for each application? - by El Forum - 06-28-2009, 09:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB