Re: url changes
Change the servlet mapping in Blojsom from blog/* to *. Then change the name of the Blojsom webapp to blogs. The end result is the desired URL such as http://www.company.com/blogs/employee.name. I suggested that on the blojsom users group and David Czarnecki responded saying "It'll probably screw things up since that means that every request gets processed by blojsom. So, images, stylesheet, and such are going to be requested through blojsom." G. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: url changes
Change the servlet mapping in Blojsom from blog/* to *. Then change the name of the Blojsom webapp to blogs. The end result is the desired URL such as http://www.company.com/blogs/employee.name. Consult the Blojsom docs before making these changes to insure they work as expected and Blojsom is properly configured. --David Graham Reeds wrote: I am setting up a website. Part of the site is employee blogs. As well as the blogs there will be forums, products, etc. making: http://www.company.com/blogs/employee.name http://www.company.com/forums/ http://www.company.com/products/product.name For the blogging software I chose Blojsom. Normally it installs into a blojsom folder in webapps. However its url is: http://www.company.com/blojsom/blogs/employee.name I would like to remove the blojsom folder. One way would be to install it to the root webapp folder. This however, is undesirable as it makes setting up the rest of the site difficult. I feel that there should be a way of configuring the web.xml in the WEB-INF file to give me the results I want. Also we don't have access to the server as they are using 3rd party hosting. If you need the web.xml (or any other file) posted then please ask. Thanks, Graham. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: url changes
"Graham Reeds" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am setting up a website. Part of the site is employee blogs. As well as >the blogs there will be forums, products, etc. making: > > http://www.company.com/blogs/employee.name > http://www.company.com/forums/ > http://www.company.com/products/product.name > > For the blogging software I chose Blojsom. Normally it installs into a > blojsom folder in webapps. However its url is: > > http://www.company.com/blojsom/blogs/employee.name > > I would like to remove the blojsom folder. One way would be to install it > to the root webapp folder. This however, is undesirable as it makes > setting up the rest of the site difficult. I feel that there should be a > way of configuring the web.xml in the WEB-INF file to give me the results > I want. > Can't be done in web.xml, since you can't configure the context path there. > Also we don't have access to the server as they are using 3rd party > hosting. > If your hosting service will allow you to configure a cross-context app, then it is simply a matter of adding a cross-context app with context path /blog and a single servlet (mapped to /*) that does a cross-context rd.forward to the /blogjsom app. > If you need the web.xml (or any other file) posted then please ask. > > Thanks, Graham. > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
url changes
I am setting up a website. Part of the site is employee blogs. As well as the blogs there will be forums, products, etc. making: http://www.company.com/blogs/employee.name http://www.company.com/forums/ http://www.company.com/products/product.name For the blogging software I chose Blojsom. Normally it installs into a blojsom folder in webapps. However its url is: http://www.company.com/blojsom/blogs/employee.name I would like to remove the blojsom folder. One way would be to install it to the root webapp folder. This however, is undesirable as it makes setting up the rest of the site difficult. I feel that there should be a way of configuring the web.xml in the WEB-INF file to give me the results I want. Also we don't have access to the server as they are using 3rd party hosting. If you need the web.xml (or any other file) posted then please ask. Thanks, Graham. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]