Update README.md

replaced apache with Apache2
This commit is contained in:
SteamPixel 2018-10-25 12:55:04 +02:00 committed by GitHub
parent 78a7f12f5d
commit 26683559b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,11 +28,11 @@ If your script lives in a subfolder e.g. /api/v1 set this basepath in your run m
```Route::run('/api/v1');```
Do not forget to edit the basepath in .htaccess too if you are on apache. In order to run the test files correctly inside a basepath you should also adjust the navigation links inside the index.php.
Do not forget to edit the basepath in .htaccess too if you are on Apache2. In order to run the test files correctly inside a basepath you should also adjust the navigation links inside the index.php.
## Something does not work?
* Dont forget to set the correct basepath as argument in your run method and in your .htaccess file.
* Enable mod_rewrite in your apache settings
* Enable mod_rewrite in your Apache2 settings
## Test setup
There is a little Vagrant test setup. Just run ```vagrant up``` to spin up a Apache2 Webserver on Ubuntu. Then navigate to http://router.local after adding the machine IP to your hosts file.