Closed papayasoft closed 13 years ago
Thanks for the suggestion! This is off course a very good idea! At the moment a lot of links (hyperlinks, css, js, ...) are hardcoded to have everything working. Plan is to make it possible to run the app below the web root (as you suggest). If you wish you can work on it and we'll add it to the master branch? (just a suggestion)
(sorry, I clicked the wrong button :-$ )
Roger that. I'll do it and submit a pull request when it's ready.
Cheers! ;-)
Nice work guys, I had a quick look, but will be able to take a proper look on Saturday. Can this issue now be closed?
Yep, I think we're good. Closing.
Currently, all urls - like stylesheets - rendered by the app assume that the app is running at the root of the virtual host:
http://example.com/
However, if you deploy it below the root - at a url like
http://example.com/myapp
- then the browser requests for stylesheets (and, eventually javascripts, images, etc) result in 404.We could use a
baseUrl()
view helper in all front-end renderings in order to make this app function correctly below the web root.