Notifications
Clear all
BugOverflow
1
Posty
1
Users
0
Reactions
2,066
Widok
0
15/09/2015 4:41 pm
Topic starter
Laravel: site without vhost, .htaccess
1 Answer
0
15/09/2015 4:44 pm
Topic starter
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/