apache - Need help to write correct MOD_REWRITE -


i have mod_rewrite enabled on server decided use better urls on blog. below i'll try describe i'd do.

when people visit url:

https://student.sps-prosek.cz/~pilarda14/cms/post_test_url

i want them see content located here:

https://student.sps-prosek.cz/~pilarda14/cms/post.php?post=post_test_url

so far have in .htaccess :

rewriteengine on  rewriterule ^~pilarda14/cms/(.*) ~pilarda14/cms/post.php?post=$1 


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -