Serving JS and CSS files from /_localhost/php folder
Hey there,
Is it possible to configure the server to also serve javascript and css files in addition to the .php files.
Thanks, Nick
Hi Nick,
I'm assuming you found this repository from following the tutorial here? https://lukearmstrong.github.io/2016/12/setup-apache-mysql-php-homebrew-macos-sierra/
The setup should serve any files from the DocumentRoot defined in the VirtualHost(s), so it should be working with JS and CSS files.
Thanks, Luke
Hey Luke,
Yeah, for whatever reason, it is only willing to serve .php files from the virtual host folder. For other files I get a 403 forbidden error.
I've used chmod commands to set them to the same permissions as the .php files. Any idea what could be wrong?