Why doesn't .htaccess have any effect?
问题 I have a .htaccess file in a directory, but it has no effect (no matter what I put in it). My apache2.conf file contains AccessFileName .htaccess <Directory "/var/www"> AllowOverride All </Directory> It already said AccessFileName .htaccess but I added the Directory tag myself, thus I'm not sure if it's correct. Thanks for any advice and requests for more information. My .htaccess content (for now) Options +FollowSymlinks RewriteEngine on RewriteRule .* page.php?arg=$0 回答1: You're on Debian,