Tag: .htaccess
.htaccess problem at Apache2 (Ubuntu)
by Samet Kilictas on Sep.08, 2008, under HowTo, Linux, Ubuntu
Hi, Everyone,
Today i have faced with a problem which made me sick of apache2. Since i’ve done with this stupid problem it will be my pleasure to writing solution to my blog page
Ok!, If you are running apache2 first you should know about that you got the configuration file at ;
sudo nano /etc/apache2/apache2.conf -> just check out this file to see what it contains exaclty
and you can see error log’s at ;
sudo nano /var/log/apache2/error.log -> which helps a lot
So, to enable .htaccess files on your server first you have to edit ;
sudo nano /etc/apache2/sites-available/default
when you open this file you have to see some lines like;
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
you have to be sure the Document root is correct. Then you need to change the “AllowOverride None” to “AllowOverride All” then we are done with this part.
Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the 