diff --git a/index.php b/index.php index b1ec3a7ee..7828340b5 100644 --- a/index.php +++ b/index.php @@ -1,111 +1,111 @@
-
- It appears that either something went wrong or the mod rewrite configration is not correct.
+
If you don't use apache, just let .htaccess stay or create a empty file - then this check will pass.
-We need to allow Apache to read .htaccess files located under the directory. +
+
- You can do this by editing the Apache configuration file:
+
- Find the section "); ?> and change AllowOverride None to AllowOverride All
+ ".htmlentities("
sudo nano /etc/apache2/apache2.conf
- After editing the above file your code should be like this: +
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
"); ?>
- In order to use mod_rewrite you can type the following command in the terminal:
+"); ?>
sudo a2enmod rewrite
- Restart apache2 after
+sudo /etc/init.d/apache2 restart
- or
+sudo service apache2 restart