|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
RewriteEngine On
RewriteRule ^featured/home-(.*).html$ feature.php?prop_number=$1 [L,NC] RewriteRule ^index.html$ index.php [L,NC] RewriteRule ^contact.html$ contact.php [L,NC] RewriteRule ^homesinhuntersville.html$ homesinhuntersville.php [L,NC] RewriteRule ^buynow.html$ buynow.php [L,NC] RewriteRule ^exchange.html$ exchange.php [L,NC] I have a site which uses this very simple MOD to change php to html is some cases, and pass a variable in some cases as you see. I would like to adapt this to catch incoming subdomain requests. would like to pass incoming requests that fit this bill (SUBDOMAINNAME).mysite.com/one-two-three.html rewritten to http://www.mysite.com/targetpage.php...&one&two&three looking for a good approach in a topic that has lots of misleading information going around, much of which makes alot of assumptions. |
|
|||
|
I've tried that in the past, and it seems like it ends up doing a redirect if the domain is different instead of just doing a rewrite. I did some searching and didn't find any examples that worked.
Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |