diff --git a/index.php b/index.php index b1ec3a7ee..7828340b5 100644 --- a/index.php +++ b/index.php @@ -1,111 +1,111 @@ - Error Page + <?php echo __("Error Page"); ?>
-

Error. Oops you've encountered an error

+

- 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("")." and change AllowOverride None to AllowOverride All"); ?>

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

- \ No newline at end of file +