Re: Larvel/Centos 8/Apache

From: Date: Fri, 26 Jun 2020 14:20:37 +0000
Subject: Re: Larvel/Centos 8/Apache
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-327214@lists.php.net to get a copy of this message
On Fri, Jun 26, 2020 at 7:47 PM Dan McCullough <dan.mccullough@gmail.com> 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@gmail.com> 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 > > - > > > > +1 Dan. Quick google search: https://stackoverflow.com/questions/18272557/laravel-forbidden-you-dont-have-permission-to-access-on-this-server This is a hack where .htaccess will tell the request to go to "public" directory. -- <https://about.me/jigar?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb> Jigar Dhulla about.me/jigar <https://about.me/jigar?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb>

« previous php.general (#327214) next »