943,028 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 313
  • PHP RSS
Jan 24th, 2010
0

Isapi rewrite issue

Expand Post »
Hello, i have some issues with url rewriting:

i use $_get[id] to determine what page i'm on and to retreve them from the database. at the moment i use url rewriting and i go to the website (where i have a redirect in the root index.php to /public/index.php?page_id=1) it shows this in the URL.
if i type index.html it shows me the page but it seems that the url rewrite is not passing the ?page_id= value to the page??

how can i solve this issue??

PHP Syntax (Toggle Plain Text)
  1. RewriteRule ^/index\.html$ /public/index.php?page_id=1 [I,L]
  2. RewriteRule ^/binnenwerk\.html$ /public/index.php?page_id=$2[I,L]
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nl18663 is offline Offline
3 posts
since Jan 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: php login
Next Thread in PHP Forum Timeline: php validator





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC