www.webdeveloper.com
Results 1 to 2 of 2

Thread: Mod Rewrite Troubles

  1. #1
    Join Date
    Jan 2007
    Posts
    54

    Mod Rewrite Troubles

    I'd like the user to be able to pass a url through in the GET array. Here's what I have so far:

    Code:
    RewriteRule  ^(http:[//]*[a-zA-Z0-9]*\.[a-z]*)/?$ index.php?s=$1 [L]
    The problem I'm having is that it will match something like http://google.com but it only passes through as http:/google.com, so it's leaving out one forward slash. Help?

  2. #2
    Join Date
    Jan 2007
    Posts
    54
    Still can't figure this out. Anyone have any ideas?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles