76 | It appears that either something went wrong or the mod rewrite configration is not correct.
77 |
We need to allow Apache to read .htaccess files located under the directory. 79 | 80 | You can do this by editing the Apache configuration file:
81 | 82 |
83 | Find the section "); ?>
and change AllowOverride None to AllowOverride All
84 |
sudo nano /etc/apache2/apache2.conf
86 |
87 | 88 | After editing the above file your code should be like this: 89 |
90 |
91 | Options Indexes FollowSymLinks
92 | AllowOverride All
93 | Require all granted
94 | "); ?>
95 |
96 | In order to use mod_rewrite you can type the following command in the terminal:
97 |sudo a2enmod rewrite
98 |
99 | Restart apache2 after
100 | 101 |sudo /etc/init.d/apache2 restart
102 |
103 | or
104 | 105 |sudo service apache2 restart
106 |
107 | install
directory to continue
45 | configuration.php
file
59 | touch configuration.php && chmod 777 configuration.php
61 | configuration.php
file is writable
77 | chmod 777 configuration.php
79 |