Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder Andy92's Avatar
    Join Date
    Nov 2005
    Location
    Horsham, West Sussex, UK
    Posts
    363
    Thanks
    7
    Thanked 1 Time in 1 Post

    Mod Rewrite with dots?

    Hey there,

    I am trying to get...

    http://www.wsurl.com/kedoa.com to basically read and display the page from...

    http://www.wsurl.com/?url=http://www.kedoa.com

    But the rewrite has dots in it. How can i do this? This is what i have so far and its not working...

    Code:
    RewriteRule ^([^/\.]+)/?$ /?url=$1 [L]

  • #2
    Regular Coder Andy92's Avatar
    Join Date
    Nov 2005
    Location
    Horsham, West Sussex, UK
    Posts
    363
    Thanks
    7
    Thanked 1 Time in 1 Post
    Anyone know?

  • #3
    Regular Coder
    Join Date
    May 2006
    Location
    Wales
    Posts
    820
    Thanks
    1
    Thanked 82 Times in 79 Posts
    [^/\.]
    That is saying any character that isnt a forward slash or dot, it should just be [^/]

  • #4
    Regular Coder Andy92's Avatar
    Join Date
    Nov 2005
    Location
    Horsham, West Sussex, UK
    Posts
    363
    Thanks
    7
    Thanked 1 Time in 1 Post
    Ok, when i put that it comes up with a server 500 error.

    ??

  • #5
    Regular Coder Andy92's Avatar
    Join Date
    Nov 2005
    Location
    Horsham, West Sussex, UK
    Posts
    363
    Thanks
    7
    Thanked 1 Time in 1 Post
    How do they do it here...

    http://whois.domaintools.com/kedoa.com

    ??


  •  

    Posting Permissions

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