Laravel: site without vhost, .htaccess« Wróć do listy pytań

Laravel: site without vhost, .htaccess
Wysłane przez mrmucha
Zadane przez 15/09/2015 15:41
0

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/
Wysłane przez mrmucha
Odpowiedziane 15/09/2015 15:44