I moved the Laravel site I was working on from one box to another. I can access the site just fine if I do http://localhost/new_nomas/public/index.php. However, if I try to configure my httpd-vhosts.config file to accommodate a "new_nomas.site" url, as I did on the other computer, I'm getting a "403 Forbidden" error.
I'm running Apache 2.4.41. Here's my httpd-vhosts.config file:
<VirtualHost *:80> ServerName nomas.site DocumentRoot c:/wamp/www/new_nomas/public <Directory "c:/wamp/www/new_nomas/public"> AllowOverride All Require all granted </Directory></VirtualHost>
First of all, Laravel seemingly keeps it error logs in storage/logs and the last error was 12/15/2019, so there's either no error being generated or something's wrong with the permissions. If there's a problem with the permissions, I can't tell.
I've changed the .htaccess file to no avail.
Whatever it is, it's one obstinate anomaly. I can't make this thing budge.
Any other suggestions?
BTW: I tried initiating a brand new laravel project just to rule out any kind of weirdness with the copying and pasting of an already existing project. Same problem. I can't initiate a virtual server for anything.
Bruce Gust
ASKER
I'm an idiot!
I found the apache_error.log file and it said that the directory that I was referencing didn't exist.
Well...
On my new box the root directory is wamp64 and not wamp.
http://nomas.site/index.php