Enabling .htaccess file to rewrite path (not working)

Enabling .htaccess file to rewrite path (not working)

firstly enable a2enmod

sudo a2enmod rewrite 

and

sudo service apache2 restart

sudo nano /etc/apache2/sites-enabled/000-default.conf

add these lines at end

<Directory /var/www/html>
    AllowOverride All
 </Directory>

and

sudo service apache2 restart





Comments (7)

  • minecraft

    Howdy! I could have sworn I’ve been to your blog before
    but after browsing through some of the articles
    I realized it’s new to me. Nonetheless, I’m definitely delighted I came across it and I’ll be bookmarking it and
    checking back often!

  • minecraft

    Hello to every single one, it’s actually a pleasant for me to pay a visit this website,
    it contains useful Information.

  • minecraft

    Hey are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and create my own.
    Do you require any html coding expertise to make your own blog?
    Any help would be greatly appreciated!

  • minecraft

    I like the valuable info you provide in your articles. I’ll bookmark
    your weblog and check again here regularly. I am quite
    certain I will learn plenty of new stuff right here! Best of luck for the next!

  • minecraft

    I believe this is one of the such a lot vital info for me.
    And i am happy studying your article. However wanna remark on some common issues, The website style
    is wonderful, the articles is actually nice : D. Just right process,
    cheers

  • minecraft

    Why users still use to read news papers when in this technological world all is accessible on web?

  • minecraft

    Your style is unique in comparison to other folks I’ve read stuff
    from. I appreciate you for posting when you have
    the opportunity, Guess I’ll just bookmark this blog.

Leave a Reply