|
-
.htaccess RewriteEngine
Dear All,
Please help me to fix this I am new to RewriteEngine Rules
I have a WHOIS Lookup Script on my website
The URL is http://whois.domain.com/whois.php?domain=example.com
Now I need to achieve this http://whois.domain.com/example.com
So I wrote
RewriteEngine On
RewriteRule ^([\w\-]*)$ whois.php?domain=$1
In the above code I am not getting the domain extension passed, I know the code is wrong, but dont know where.
Please HELP.
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
Forum Rules
|
|
Bookmarks