Re: [users@httpd] Using mod_rewrite with mod_jk2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <brian.papa@xxxxxxxxx> wrote:
> 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 <sitz@xxxxxxxxxxxx> wrote:
> > 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
> > >       http://mysite.com/profile/aboutme/index.jsp?memberName=%N [L]
> > >
> > > And then when I enter "someuser.mysite.com/profile/aboutme" I get a
> > > 404 and the error logs look like this -
> > >
> > > "File does not exist: C:/apache_web/profile/aboutme/index.jsp"
> >
> > You need to add the 'PT' flag to your RewriteRule so that mod_rewrite
> > will give mod_jk2 a crack at the request. You will also (I think;
> > someone check me on this) need to have mod_rewrite's LoadModule line
> > listed /after/ mod_jk2's, so ensure that mod_rewrite is called first.
> >
> > --noah
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
> >
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux