Configure httpd-userdir.conf as
1
2
3
4
| AllowOverride All
Order Allow,deny
Allow from all
Require all granted |
AllowOverride All
Order Allow,deny
Allow from all
Require all granted
optionally add alias inside httpd.conf
1
| Alias /testSite "/usr/local/www/laravel/public"" |
Alias /testSite "/usr/local/www/laravel/public""
open /usr/local/www/laravel/public/.htacces and add
1
2
3
| Options +FollowSymLinks
RewriteEngine On
RewriteBase /testSite/ |
Options +FollowSymLinks
RewriteEngine On
RewriteBase /testSite/