i have promises to keep and miles to go before i sleep – Robert Frost

htaccess not working

I had problem that htaccess not working. When I reinstalled PyroCMS into a new server I got this problem.

You might have same problem.
what I did to fix:

I found this link

http://www.ubun2.com/question/302/how_install_enable_apache_mod_rewrite_ubuntu

There is a Bug in apache while using a2enmod, it doesn’t make any
changes.
so I edited /etc/sites-enabled/000-default this
there
DocumentRoot /var/www

Options FollowSymLinks
AllowOverride All

Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

Notice that you have to have AllowOverride All
then restard apach2
hope it will work

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Tag Cloud

Follow

Get every new post delivered to your Inbox.