Apache ignores .htaccess file -
i have debian apache server. reason apache ignores .htacces file. ideas why happening? here /etc/apache2/sites-available/default file
<virtualhost *:80> serveradmin webmaster@localhost documentroot /var/www <directory /> options followsymlinks allowoverride none </directory> <directory /var/www/> options indexes followsymlinks multiviews allowoverride order allow,deny allow </directory> scriptalias /cgi-bin/ /usr/lib/cgi-bin/ <directory "/usr/lib/cgi-bin"> allowoverride none options +execcgi -multiviews +symlinksifownermatch order allow,deny allow </directory> errorlog ${apache_log_dir}/error.log # possible values include: debug, info, notice, warn, error, crit, # alert, emerg. loglevel warn customlog ${apache_log_dir}/access.log combined
here .htaccess file
rewriteengine on rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewritecond %{request_filename} !-l rewriterule ^(.+)$ index.php?url=$1 [qsa,l]
i have enabled apache rewrite mod.
panama jack thank much,
based on answer find out solution looking for. added @ top of .htaccess line
options +followsymlinks -multiviews
that found here rewriteengine on .htaccess not working
thanks again!
Comments
Post a Comment