Clean Urls
On a Debian System
Enable clean URLs
open a terminal
first step:
as root
# a2enmod rewrite
comes back with run
Module rewrite installed; run /etc/init.d/apache2 force-reload
to enable
second step if Mepis:
go to /etc/apache2/apache2.conf
find the area where there are "Directory" tags
in this section, add
AllowOverride all
Second step if Sidux:
Go to apache2 then to mods-available folder
edit alias.conf
editing AllowOverride from none to all
Both systems:
within the <IfModule alias_module></IfModule> tags
add a segment for each site that needs clean urls
<Directory /var/www/sitefolder>
AllowOverride all
</Directory>
Substituting each folder for "sitefolder"
Restart apache (as root) /etc/init.d/apache2 restart
- Login to post comments

