apache - Bad flag delimiters .htaccess -


im testing out url rewritting im having issues htacces. have

rewriteengine on  rewritecond %{request_filename} != d rewritecond %{request_filename} != f rewritecond %{request_filename} != l  rewriterule ^(.+)$ index.php?url=$1 [qsa,l] 

and vhost looks like

<virtualhost *:80>         serveradmin webmaster@sitename.com         servername www.mvc.com         serveralias my.mvc          documentroot /home/user/documents/mymvc          <directory /home/user/documents/mymvc>             require granted             allowoverride         </directory>          errorlog /home/user/sitelogs/mvc/error.log </virtualhost> 

with settings im getting /home/user/documents/mymvc/.htaccess: rewritecond: bad flag delimiters im not sure missing. in advance.

!= not valid option in rewriteconds: http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond

rewritecond %{request_filename} !-d                                  ^--- "dash", not "equals" 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -