Actually I just realized, I've got one more question. How does this
all work with DNS? Is Wildcard DNS the best approach? B/C i'm assuming
DNS isn't gonna have a clue what the IP is going to be for say
user1.mysite.com...
On 8/12/05, brian papa <[EMAIL PROTECTED]> wrote:
> Excellent Noah, it worke
Excellent Noah, it worked, thanks for the help! I didn't realize the
PT flag was needed based on the doc... I'm also surprised how hard of
a time I had without finding an answer for this via google, hopefully
it bubbles up and they index it somewhere nicely in groups.
On 8/12/05, Noah <[EMAIL PROT
On Fri, Aug 12, 2005 at 10:32:41AM -0400, brian papa wrote:
> Still having the same problem... right now my rewrite stuff looks like this -
>
> LoadModule rewrite_module modules/mod_rewrite.so
> RewriteEngine on
> RewriteCond %{HTTP_HOST} (.*).mysite.com$
> RewriteRule /profile/aboutme
> ht
Still having the same problem... right now my rewrite stuff looks like this -
LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine on
RewriteCond %{HTTP_HOST} (.*).mysite.com$
RewriteRule /profile/aboutme
http://mysite.com/profile/aboutme/index.jsp?memberName=%N [L]
And then wh
RewriteRule will by default only match the request, that is the "/
profile" part. Apparently the RewriteRule can back-reference to the
last-matched RewriteCond. So the following *should* work.
Of course, mod_rewrite is called "voodoo" even by experts, so it's
possible that my logic is flawed
I'm trying to set it up so that users of my site can enter a url like
"username.mysite.com/profile" that will rewrite to
"mysite.com/profile.jsp?u=username", or something of that nature. From
what I understand, using mod_rewrite is the best way to do this.
I've added the following to my httpd.conf