the folder foo (the absolute URL is thus http://example.com/foo) contains the file index.php, this allows me to have URLs that look like this:
foo/?url=a_good_site
but this looks quite ugly, so I tried to get URLs like this one
foo/a_good_site
instead. I use the following apache code:
- Code: Select all
RewriteCond %{QUERY_STRING} ^url=([^&]+)$
RewriteRule foo/index.php foo/%1 [L]
But it simply doesn't work. Any ideas?