| Posted: 22 January 2010 at 9:07pm | IP Logged
|
|
|
I would like to achieve the following results
http://font.bookbox.com
< ="application/x-shockwave-flash" ="http://www.gstatic.com/translate/_p.swf" id="tts_" width="18" height="18">< value="http://www.gstatic.com/translate/_p.swf" name="movie">< value="_name=" name="flashvars">< value="transparent" name="wmode">< value="always" name="allowAccess">> Rewrite to http://www.bookbox.com/font/
I wrote a rule, but it will appear 404 pages, pages can not be found. code is:
# To
exclude the current needs of the virtual hosts on the server directly
to the actual directory in accordance with the normal access to the
domain name
RewriteCond Host: (?:www)\.jinapi365\.com RewriteRule (.*) $1 [L]
RewriteCond Host: (.+) RewriteRule /font/ http://font.bookbox.com/ [I,R,L]
#Visitors in the address bar can not see two directories. $ 1 is the regular expression (. +), Which matches the contents.
RewriteCond Host: (?!www)(.+)\.bookbox\.com RewriteRule (.*) /$1$2
Ask for help, thank you!!
|