开发者

Apache Mod-rewrite

This gives "No record found"

###Get members pagename
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /view_members_public_profile.php?page_name=$1 [L]


But this shows member record
http://localhost/view_members_public_profile.php?page_name=mabel

I want to show members profile by going to http://localh开发者_Python百科ost/mabel

Any ideas?

Thank you


try RewriteRule ^/(.*) /view_members_public_profile.php?page_name=$1 [L]

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜