Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Composer/Laravel 403 error. Not the right permission to view page [searching]

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
RFlintstone
Posts: 10
Joined: Sun Jun 02, 2019 11:42 am

Os: Ubuntu 15x
Web: apache + nginx
Composer/Laravel 403 error. Not the right permission to view page [searching]
  • Quote

Post by RFlintstone » Sun Jun 09, 2019 7:04 pm

Hi all,

I just installed laravel and composer and it looks like users that view the webpage don't have the right permission to view the page.
I already tried

Code: Select all

sudo chmod -R 755/home/admin/web/rflintstone.xyz/public_html
but that doesn't seem to work. Is there a solution for this problem?

Kind regards,
Ruben
Top

RFlintstone
Posts: 10
Joined: Sun Jun 02, 2019 11:42 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Composer/Laravel 403 error. Not the right permission to view page [searching]
  • Quote

Post by RFlintstone » Sun Jun 09, 2019 10:30 pm

RFlintstone wrote: ↑
Sun Jun 09, 2019 7:04 pm
Hi all,

I just installed laravel and composer and it looks like users that view the webpage don't have the right permission to view the page.
I already tried

Code: Select all

sudo chmod -R 755/home/admin/web/rflintstone.xyz/public_html
but that doesn't seem to work. Is there a solution for this problem?

Kind regards,
Ruben
Ok, so I just might have find the problem in

Code: Select all

/var/log/apache2/domains/rflintstone.xyz.error.log

According to Phpstorm Laravel's 'Arr.php' file located in

Code: Select all

/vendor/laravel/framework/src/Illuminate/Support
haves a line that only can be used with PHP 7.1 so I'm going to try to download a PHP selector for VestaCP and then going to test if that indeed is solving the problem (I already made a backup).

*I also renamed the 'server.php' file to 'index.php', then the error will change to a 500 error instead of a 403 error.

I found the error with:

Code: Select all

sudo tail /var/log/apache2/domains/rflintstone.xyz.error.log
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password