0
1
I have some basic knowledge of Mod Rewrite, but I can't figure this out! I want http://example.com/posts/[NAME]/~[ID]/#[PAGE] and be able to get it like $_GET['name'], $_GET['id'], and $_GET['page'] NAME is a en escaped string, so it allow A-...
2010-11-26
1
2
I need help with mod rewrite ...I'm trying to change domain.com/user.php?username=foo to domain.com/foo My current rewrite is: RewriteRule username/(.*)/ user.php?username=$1 [L] RewriteRule username/(.*) user.php?username=$1 [L] which o...
3
1
I'm currently using nginx as a transparent proxy for apache. I would like to use nginx + fcgi(php) but need mod-rewrite support. Is this possible or is there an alternative solution to my woes? This is for only 1 site, would litespeed be an ef...
0
4
I am updating a php app, which currently does not use url rewriting. The aim is to hide file extensions. The general structure of the website is as follows root/ index.php login.php page1.php page2.php page3.php page4.php page5.php...
0
1
I want to rewrite my urls in this form: /items/category/item-name-id (the id is a number). Now my URL look like this: items.php?cat=category&name=item-name&id=12321 Oh and where I need to place the code for mod-rewrite ? ...
2010-12-18
0
1
Good day all, Ive been wondering, google searching and goign greyer quicker thinking if it is possible for mod rewrite to change a specific symbol it grabs from the url to something else? i.e. if the url is www.website.com/foo-bar using the rew...
2010-11-15
0
2
I'm just wondering. In some websites I see the following: http://www.website.com/the-title-of-my-new-book-2011.html I know how to use a mod rewrite, but I wonder how they get the title separated by the "-" sign. And I don't see any ID, meaning t...
2011-01-04
2
4
I'm developing a php application and I have a little issue with Apache and Mod Rewrite. Anyone knows what's wrong here?: RewriteEngine on RewriteBase /mysite/ RewriteRule ^css\/css\.css css/css.php [L] RewriteRule ^js\/js\.js js/js.php [L] Rewri...
2009-11-22
4
5
I have successfully created rewrite rules to handle URLs like http://example.com/xyz http://example.com/xyz/ http://example.com/xyz/abc http://example.com/xyz/abc/ Here is the mod rewrite & regex: Options +FollowSymlinks RewriteEngine O...
0
1
I have a problem with mod rewrite. I made urls like this: www.domain.com/test/23/24 that go to this: www.domain.com/test.php/23/24 Then i blocked the map test2 so that will not redirect but now i want to sent this: www.domain.com/test2/test/23/2...