What does the error log say for the request? It should have a path for the requested file. Permissions will cause a 403 or maybe no directory index is set so it's also not loading the index.php file.
Laravel 5, Plesk 12, PHP 5.6, Ubuntu 14 and Forbidden 403 PHP [[[ RESOLVED ]]]
Hello all,
I really wast a lot of time to resolve this issue. I want to install laravel on my dedicated server to be able to learn it, so always I get a forbidden page :
http://demo.beginfromhere.com/
I have Plesk 12, PHP 5.6, Ubuntu 14 and this is my .conf file :
<VirtualHost *:80> ServerName 85.25.139.98 DocumentRoot /var/www/vhosts/beginfromhere.com/demo/public/ # Alias / "/var/www/vhosts/beginfromhere.com/demo/public" <Directory /var/www/vhosts/beginfromhere.com/demo/public/> Options -Indexes +FollowSymLinks +MultiViews AllowOverride All Require all granted
ErrorLog ${APACHE_LOG_DIR}/myproject-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/myproject-access.log combined
Can you please help me to resolve this issue ?
Best regards
Hello,
I just resolved this issue. I want to say very important point if you are PLESK.
Apache comes inside Plesk, for that, you can't do anything concerning the configuration of Virtual Host inside :
/etc/apache2/sites-available
If you want to configure a website, you should go to here :
/var/www/vhosts/system/yourwebsite.com/conf/vhost.conf
or if you want to configure a subdomain, go to here :
/var/www/vhosts/system/subdomain.yourwebsite.com/conf/vhost.conf
Voilà
@bashy : Thank you dear for your help, I appreciate your efforts.
Please or to participate in this conversation.