apache - Unable to Rewrite on htaccess -
i have few rules in htaccess working however, when try add seemingly simple rewriterule won't work. scratching head. want make
http://www.sample.com/dev/reference/library/a
into
http://www.sample.com/dev/library.htm?cat=a
the "a" can alphabets z only.
i have htaccess this:
rewriteengine on rewritecond %{https} off rewriterule ^member/([a-za-z0-9-_\s]+)/?$ member.htm?cid=$1 [nc] rewriterule ..... rewriterule ..... rewriterule ..... rewriterule ^library/([a-za-z])/?$ library.htm?cat=$1 [nc]
the library.htm sits on root direct. however, getting "file not found" 404 error. assistance appreciated. in advance.
found issue. looking /dev/library , had files in /dev/reference/library.
Comments
Post a Comment