Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
complicated htacess issue - RewriteRule
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
odioworks_com
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 82
Location: Charlottesville, Virginia

PostPosted: Sat Nov 11, 2006 10:17 pm    Post subject: complicated htacess issue - RewriteRule Reply with quote

I know this isn't the right place to ask this question. But I'm not sure where I should be asking it - if anyone can point me to the right direction I'd sure appreciate it! I can't seem to find an answer on google.

Currently I have my .htaccess file set up to redirect subdomains as follows:

http://foobar.domain.com redirects to http://domain.com/index.php?title=foobar&useskin=bluwiki_skin

These are the rules to accomplish that:
Code:
RewriteCond %{HTTP_HOST} ^([^.]+)\.bluwiki\.com
RewriteRule (.*) /index.php?title=%1&useskin=bluwiki_skin [L]


I would like to change it to the following:
http://foobar.domain.com/test redirects to http://domain.com/index.php?title=foobar:test&useskin=bluwiki_skin

Any ideas? Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum