SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mod_rewrite: query from values between slashes

    I want this:
    Code:
    http://example.com/hello/world/123/
    To be re_written as this:
    Code:
    http://example.com/process.php?q1=hello&q2=world&q3=123

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,680
    Mentioned
    20 Post(s)
    Tagged
    3 Thread(s)
    hk,

    If you want that, write the code for it! I have a tutorial linked in my signature which deals with all kinds of mod_rewrite questions ... except "do it for me." I'd be happy to help you when you show your attempt but, since this didn't pass the "smell test" for "script kiddies," I'll leave it in your corner to make the attempt. I'm here to help members learn about mod_rewrite so please rephrase your request and show the code you've attempted.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •