# RewriteBase syntax in .htaccess
# "Allow all" option in /etc/apache2/sites-enabled directory. Here are the example of 000-default file in sites-enabled directory (in tag Directory "/var/www/somedir"):
Order allow,deny
Allow from all
AllowOverride All
# Is .htaccess file executable?
# Make sure rewrite module is loaded in Apache. When this module successfully loaded, it will appear in mods-enabled directory as rewrite.load file. You can load them by issuing:
sudo a2enmod rewriteJust double check them. Enjoy!
No comments:
Post a Comment