Apache Rewrite problems with my blog
Posted
by roacha
on Stack Overflow
See other posts from Stack Overflow
or by roacha
Published on 2010-04-26T14:59:26Z
Indexed on
2010/04/26
15:03 UTC
Read the original article
Hit count: 293
apache
|mod-rewrite
Hey Guys,
I am having a hard time getting the rewrite rule setup correctly for my website&blog. Here is the current line in Apache's virtual host:
RewriteRule ^/(?:blog|apc|_em|phpsecinfo|blog/)/ - [L]
I am able to access my URL at www.domainname.com/blog/ But I am unable to access it at www.domainname.com/blog (without the ending /)
How can I edit my Rewrite rule so that I can reach the blog without the ending / ? Thanks
© Stack Overflow or respective owner