I guess these are all questions that everyone must just know, because I'm not seeing this in the documentation :-D
I understand that the public folder is the folder that the world has access to.
I know it is the case with the css folder, but in migrating a traditional php website over, will my /images folder, /js folder /mp3s, etc Will those all just also be public folders that will be accessed via the layout or view.phtml pages?
Thanks!
Yep, I believe so. That directory is the primary front-end for Apache - as dictated by your .conf settings. Index.php handles your index actions and everything else (that exists) in that directory (or below) will be referenced directly by Apache as a static file.
[ed. I'm assuming Apache as a representative of the web server world.]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With