|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
mod_rewrite
I've done a search on the forum for help with mod_rewrite and read this post but I'm having trouble translating it to do what I need:
I have a directory on the domain called bogtest this has a page called index.php that expects a variable $bid currently the page is accessed lik: www.mydomain.com/blogtest/index.php?bid=x (where x is a number) I'd like to make the yrl more friendly like www.mydomain.com/blogtest/x (where x is a number) I have an .htaccess in bloggtest that has: Code:
Options +FollowSymLinks RewriteEngine on RewriteRule /blogtest/([0-9]+) /blogtest/index.php?bid=$1 This currently isn't working. I need to jigger with the rule part but how...? Many thanks |
|
#2
|
|||
|
|||
|
RE: mod_rewrite
---- Moved by postalcow ----
|
|
#3
|
|||
|
|||
|
RE: mod_rewrite
oops wrong forum.
anyways solved it, was missing the base path for the bogtest directory |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > mod_rewrite |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|