... | ... | @@ -37,6 +37,16 @@ To have fancy URLs, activate URL rewriting by activating the provided `.htaccess |
|
|
mv htaccess.txt .htaccess
|
|
|
```
|
|
|
|
|
|
For the `.htaccess` to be taken into account by Apache, you must add the following to your VirtualHost file:
|
|
|
```apache
|
|
|
<Directory /var/www/framadate>
|
|
|
AllowOverride All
|
|
|
</Directory>
|
|
|
```
|
|
|
Then reload or restart the Apache server.
|
|
|
|
|
|
You can also put everything that's into the `.htaccess` file directly into your VirtualHost file.
|
|
|
|
|
|
## Secure admin section
|
|
|
|
|
|
The `/admin` folder shouldn't be open to anyone but the admin of the Framadate instance, you should secure it with `.htaccess` and `.htpasswd` files.
|
... | ... | |