Announcement

Collapse
No announcement yet.

How to enable mod_rewrite in Apache 2 on Debian Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to enable mod_rewrite in Apache 2 on Debian Linux

    After that I had at problem with rewriting
    I thought I'd share with you on how to start it


    Simple! Just run the command
    a2enmod rewrite
    Restart Apache 2 by running the command
    /etc/init.d/apache2 restart
    Done!
    ...if you are still having problems getting mod_rewrite to work, check that the config file for the site (located in the directory /etc/apache/sites-available/) does not have "AllowOverride None". If it does then change it to AllowOverride All instead in order to allow mod_rewrite commands to be set in the .htaccess file.

    /ZnaZ

Related Topics

Collapse

Working...
X