Hi Dan. Sorry for the delay in getting back. Still getting the same error. ## laravel_project.conf NameVirtualHost *:80 Listen 80 <VirtualHost *:80> # VirtualHost file to handle aliases #trying to simplify for test laravel app # VirtualHost file to handle aliases Alias /ltest /var/www/html/laravel_test/public #ServerAdmin admin@1.2.3.4 #ServerName laravel_test #ServerAlias ltest.com DocumentRoot "/var/www/html/laravel_test/public" <Directory /var/www/html/laravel_test/public> Options Indexes FollowSymLinks MultiViews AllowOverride none Require all granted </Directory> # Define where the logs go and what they're called... ErrorLog "/var/log/httpd/testsite-error_log" CustomLog "/var/log/httpd/testsite-access_log" common </VirtualHost> On Fri, Jun 26, 2020 at 12:15 PM Dan McCullough <dan.mccullough@xxxxxxxxx> wrote: > > Before we go there try this > > <Directory /var/www/html/laravel_test/public> > Options Indexes FollowSymLinks MultiViews > AllowOverride none > Require all granted > </Directory> > > I have Apache backwards compat module which runs 2.2 and 2.4 directives, sorry about that. > > On Fri, Jun 26, 2020 at 11:53 AM bruce <badouglas@xxxxxxxxx> wrote: >> >> Hi Dan, >> >> Tried the mods you suggested below. Still getting the same err. If you >> have a few spare mins, I'm more than willing to allow you access to >> the box. The VM is a throwaway digitalocean instance >> >> >> On Fri, Jun 26, 2020 at 10:45 AM Dan McCullough >> <dan.mccullough@xxxxxxxxx> wrote: >> > >> > DocumentRoot /var/www/html/laravel_test/public >> > .... >> > >> > <Directory /var/www/html/laravel_test/public> >> > Options Indexes FollowSymLinks MultiViews >> > AllowOverride All >> > Order allow,deny >> > allow from all >> > Require all granted >> > </Directory> >> > >> > On Fri, Jun 26, 2020 at 10:41 AM bruce <badouglas@xxxxxxxxx> wrote: >> >> >> >> Hey Dan, >> >> >> >> <VirtualHost *:80> >> >> # VirtualHost file to handle aliases >> >> >> >> #trying to simplify for test laravel app >> >> Alias /ltest /var/www/html/laravel_test/public >> >> >> >> >> >> #ServerAdmin admin@1.2.3.4 >> >> #ServerName laravel_test >> >> #ServerAlias ltest.com >> >> >> >> DocumentRoot "/var/www/html/laravel_test/public" >> >> >> >> <Directory /var/www/html/> >> >> Options -Indexes +FollowSymLinks +MultiViews >> >> AllowOverride All >> >> Require all granted >> >> >> >> #Order allow,deny >> >> #allow from all >> >> </Directory> >> >> >> >> # Define where the logs go and what they're called... >> >> ErrorLog "/var/log/httpd/testsite-error_log" >> >> CustomLog "/var/log/httpd/testsite-access_log" common >> >> >> >> </VirtualHost> >> >> >> >> httpd -M >> >> . >> >> . >> >> . >> >> reqtimeout_module (shared) >> >> request_module (shared) >> >> rewrite_module (shared) <<<<<< >> >> setenvif_module (shared) >> >> . >> >> . >> >> >> >> My test site:: >> >> http://161.35.180.212/ltest >> >> >> >> I get the Forbidden 403 >> >> >> >> In the error file: >> >> cat /var/log/httpd/error_log >> >> [Fri Jun 26 10:35:47.138569 2020] [authz_core:error] [pid 32890:tid >> >> 139741936715520] [client 74.175.241.90:60400] AH01630: client denied >> >> by server configuration: /etc/httpd/htdocs >> >> >> >> Running Centos 8,, Apache/2.4.37 (centos) >> >> the /var -- is root:root >> >> >> >> >> >> apache:apache /var/www/html >> >> apache:apache /var/www/html/laravel_test >> >> >> >> I'm flumoxed! >> >> >> >> >> >> >> >> On Fri, Jun 26, 2020 at 10:16 AM Dan McCullough >> >> <dan.mccullough@xxxxxxxxx> wrote: >> >> > >> >> > I would check to make sure you have mod_rewrite enabled >> >> > in the apache conf you should have /var/www/html/public as the doc root. >> >> > double-check permissions / owner group is usually www-data.www-data >> >> > >> >> > >> >> > On Fri, Jun 26, 2020 at 10:06 AM bruce <badouglas@xxxxxxxxx> wrote: >> >> >> >> >> >> Hi. >> >> >> >> >> >> New to larvel/apache, trying to put together a really basic (simple) >> >> >> example of the tet laravel webapp. >> >> >> >> >> >> I'm trying to find someone who's implemented Laravel with Apache that >> >> >> I can talk to. I'm getting a 403 err from the browser. >> >> >> >> >> >> I'm running the basic laravel for a project where I run >> >> >> laravel new wrest >> >> >> from the /var/www/html dir. >> >> >> >> >> >> I've created the Apache conf file, and think the dir/files owner/perms >> >> >> are correct. I'm missing something I'm not seeing. >> >> >> >> >> >> So thought I'd post here to see if anyone might be able to shed light >> >> >> on what I'm missing. >> >> >> >> >> >> thanks >> >> > >> >> > >> >> > >> >> > -- >> >> > Thank you, >> >> > >> >> > Dan >> >> > Cell: 484-459-2856 >> >> > Facebook: http://www.facebook.com/dpmccullough >> >> > LinkedIn: https://www.linkedin.com/in/danmccullough >> >> > >> >> > >> >> > >> >> > >> > >> > >> > >> > -- >> > Thank you, >> > >> > Dan >> > Cell: 484-459-2856 >> > Facebook: http://www.facebook.com/dpmccullough >> > LinkedIn: https://www.linkedin.com/in/danmccullough >> > >> > >> > >> > > > > > -- > Thank you, > > Dan > Cell: 484-459-2856 > Facebook: http://www.facebook.com/dpmccullough > LinkedIn: https://www.linkedin.com/in/danmccullough > > > >