Forum

Laravel: site witho...
 
Notifications
Clear all

Laravel: site without vhost, .htaccess

1 Posty
1 Users
0 Likes
1,890 Widok
0
Topic starter

Laravel: site without vhost, .htaccess

1 Answer
0
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/

Odpowiedź

Author Name

Author Email

Your question *

Preview 0 Revisions Saved
Share: