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 -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -