List Info

Thread: Changing contexts with tomcat and blojsom




Changing contexts with tomcat and blojsom
user name
2006-04-28 20:04:49
I'd like to have my blog show up at:
blog.example.com/name/ rather then the current
www.example.com/blojsom/blog/name/

Of the life of me, I can't get tomcat 5.0 to map the
context that way,
blojsom appears to want /blog/name/ at a minimum.

Or, I'm just not understanding something correctly.

I was hoping there was a faq page on this, but it suggests
just leaving
the /blojsom/blog/name/ as is. 

Any pointers? Thanks!

-- 
Andrew


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Changing contexts with tomcat and blojsom
user name
2006-04-28 20:16:47
I'm attempting something similar as we speak, oddly enough.
Someone else 
pointed me to the UrlRewriteFilter at http://tuckey.org/urlre
write/ as 
the starting point. I've defined a rule like this in the
config file for 
the filter:

<rule>
   <condition
name="host">eric.synclastic.com</condition
>
   from>(.*)</from>
   <to>/blog/$1</to>
</rule>

and you have to change your Tomcat config to alias the
subdomains you 
want mapped to the same webapp.

Still tweaking with things....

Eric

blojsomrootme.org wrote:
> I'd like to have my blog show up at:
> blog.example.com/name/ rather then the current
> www.example.com/blojsom/blog/name/
> 
> Of the life of me, I can't get tomcat 5.0 to map the
context that way,
> blojsom appears to want /blog/name/ at a minimum.
> 
> Or, I'm just not understanding something correctly.
> 
> I was hoping there was a faq page on this, but it
suggests just leaving
> the /blojsom/blog/name/ as is. 
> 
> Any pointers? Thanks!
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )