hi, i have installed drupal and want to enable the cleanurls in my localhost site, than accoding to given documentation /etc/apache2/httpd.conf file must be edited and than followed, but when i have opend the httpd.conf file it is completely empty so tried out different expermients like adding the lines required in httpd.conf but failed. but while seaching for solution one of comments posted by zaugnutts it works for both ubuntu and debian.
1)enable rewrite module on apache.
(to disable type a2dismod rewrite)
2)Set directory permission.
You must find the file that sets permission of each directory for apache. In my case it was /etc/apache2/sites-enabled/000-default
edit the page so that the directory that you will be using to serve webpages has “AllowOverride All”. My file contains the following:
Options Indexes FollowSymLinks MultiViews
allow from all
3)Just restart apache and it should be working: