.htaccess - Getting laravel to work with Apache 2 -
Then I'm new to Laravel.
I have been able to develop using Mac OS X, so at first I thought it would be a very good idea to use the Homestead but nginx, which I barely when I sys admin Use the know-how to know a lot about apache2.
So tonight, I grabbed my dedicated server (which is faster to download a lot through the composer dependence), LL paste.debian.net/130339 /
/ var / www / AMI _> LL able ➜ sites / var / www / AMI
Total 100K drwxrwxrwx 12 root root 4.0K June 1 20:16 app -rwxrwxrwx 1 root root 2.4K Jun 1 20:16 artisan drwxrwxrwx 2 root root 4.0K November 5, 00:18 bootstrap -rwxrwxrwx 1 root root 697 Jun 1 20: 16 composer.json -rwxrwxrwx 1 root root 58K November 5, 0:18 Composer K Lock -rwxrwxrwx 1 root root 146 june 1 20:16 c ONTRIBUTING.md -rwxrwxrwx 1 root root 567 Jun 1 20:16 phpunit.xml drwxrwxrwx 3 root root 4.0K June 1 20:16 public -rwxrwxrwx 1 root root 2.1K Jun 1 20:16 -rwxrwxrwx 1 root root 519 readme.md Jun 1 20:16 server.php drwxrwxrwx 20 root root 4.0K 5 Nov 00:19 Know
when you see Larvel welcome page you visit. After that, I created this route:
Root :: find ('/', function () {return see :: create ('hello'); }); Route :: find ('/ about, function () {return see :: create (' hello ');});
But if you go to the previous URL and add / you get 404 then you get it.
Can anyone explain me?
Apache: [ Wednesday 05 November 00:26:12 2014] [Error] [Client 23.226.237.192] File does not exist: About / var / www / ami / public / / Code>
In the .htaccess public folder: paste.debian.net/130340 /
please help! (Modrewrite is enabled)
you have
composer dump-
Comments
Post a Comment