Hi, I want to put a certain url that is defined in the frontend's app.yml and put it in my .htaccess file., in a RewriteRule (I want to redirect all file downloads that match a certain pattern to the setting from the app.yml - all people who link to an old version of my software installer should be 301 redirected to the latest version).
So I made a .htaccess.tpl with a placeholder in the the download location - '##LASTEST_VERSION##' so that I can search and replace in that file and write the result to the .htaccess file. Result: except for the very first request after the change to the app.yml is made, the .htaccess will be up to date. Except for one thing: I can't find a way to be notified of when the app.yml is changed. I could of course regenerate the .htaccess on every request but that seems like a waste and a race condition waiting to happen. So, my question: is there a way to be notified that app.yml has been changed? Is there a class I can subclass? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
