Re: tomcat & url rewrite

2009-09-28 Thread WILLIAMer
ext: http://www.nabble.com/tomcat---url-rewrite-tp25395691p25531387.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mai

Re: tomcat & url rewrite

2009-09-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 9/17/2009 10:30 PM, WILLIAMer wrote: >> If you always start your URLs with a '/', then you shouldn't have a problem. > > Could you explain this Sentence to me? Uh... you should make sure all your URLs are absolute, not relative. IF you h

Re: tomcat & url rewrite

2009-09-17 Thread WILLIAMer
-- View this message in context: http://www.nabble.com/tomcat---url-rewrite-tp25395691p25502211.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

Re: tomcat & url rewrite

2009-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 9/16/2009 10:04 PM, WILLIAMer wrote: > Let me say sorry for i didnt description the error. > The error like the path is mapping incorrectly. So, what error message do you get? > So the image or css are not display because of the path not

RE: tomcat & url rewrite

2009-09-16 Thread Caldarale, Charles R
> From: WILLIAMer [mailto:william.tz...@echannelopen.com.tw] > Subject: Re: tomcat & url rewrite > > The error like the path is mapping incorrectly. What do you have in WEB-INF/web.xml for your webapp? > I set my application to be ROOT. How? > Why i say http://myDomain

Re: tomcat & url rewrite

2009-09-16 Thread WILLIAMer
message in context: http://www.nabble.com/tomcat---url-rewrite-tp25395691p25483993.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: tomcat & url rewrite

2009-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 9/15/2009 9:45 PM, WILLIAMer wrote: > There is no error with url rewrite. > For item "pd1234", > The url would be http://myDomain/item_pd1234.html and its fine. Ok. > For item "pd12/34" > The url would be http://myDomain/item_pd12/34.htm

Re: tomcat & url rewrite

2009-09-15 Thread WILLIAMer
ed item_pd12under my application. So, i say if the item include "/" char would get error. At first, i didnt know the problem belong to tomcat or url-rewrite. Now, thanks the replies in this post. I know this is not tomcat problem. -- View this message in context: http://www.n

Re: tomcat & url rewrite

2009-09-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 9/14/2009 9:43 PM, WILLIAMer wrote: > I got the problem if the item name(from database) have "/" char, > the full url path http://myDomain//item_1/23.html would be error. Where does the error occur? Does the URL re-writer fail to re-writ

Re: tomcat & url rewrite

2009-09-14 Thread WILLIAMer
char, the full url path http://myDomain//item_1/23.html would be error. Maybe i let the item have "/" char doesnt use this rule. Just go /getItemPage?itemname=1/23 to Avoid th error. Thanks your reply. -- View this message in context: http://www.nabble.com/tomcat---url-rewrite-tp2539569

Re: tomcat & url rewrite

2009-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 9/13/2009 10:05 PM, WILLIAMer wrote: > I think look up the url in database is not a Immediately way to me. > Because most of item not have the "/" char in name. > > My original url would like http://myDomain/getItemPage?itemName=xxx > Aft

Re: tomcat & url rewrite

2009-09-14 Thread WILLIAMer
make tomcat explain the directory Relation. Thanks all, thanks Pid-6. To Pid-6, You maybe misunderstanding my text. The url rewrite is not through tomcat or default servlet. -- View this message in context: http://www.nabble.com/tomcat---url-rewrite-tp25395691p25433340.html Sent from the Tomca

Re: tomcat & url rewrite

2009-09-14 Thread Pid
On 14/09/2009 03:05, WILLIAMer wrote: I think look up the url in database is not a Immediately way to me. Because most of item not have the "/" char in name. My original url would like http://myDomain/getItemPage?itemName=xxx After the url rewrite rule, url become http://myDomain/item_xxx.html

Re: tomcat & url rewrite

2009-09-13 Thread WILLIAMer
e "abc/def", http://myDomain/item_abc/def.html will get error. Because tomcat explain there is a directory named item_abc. I think the tomcat is right. -- View this message in context: http://www.nabble.com/tomcat---url-rewrite-tp25395691p25429315.html Sent from the Tomcat - User mai

Re: tomcat & url rewrite

2009-09-11 Thread Hassan Schroeder
On Fri, Sep 11, 2009 at 4:01 AM, Pid wrote: > Why not just make the URLs in such a way that you can look them up in the > database?  A servlet Filter could perform the same task in one go that your > rewrite & db lookup is doing. Exactly -- your URL is only a problem if you're passing the reques

Re: tomcat & url rewrite

2009-09-11 Thread Pid
On 11/09/2009 11:18, WILLIAMer wrote: Thanks for replies. To awarnier: Change the item name will lost the SEO for this item. To Pid-6: It is dynamic page and item data are from database. I use url rewrite for looking like static page. Why not just make the URLs in such a way that you can loo

Re: tomcat & url rewrite

2009-09-11 Thread WILLIAMer
: http://www.nabble.com/tomcat---url-rewrite-tp25395691p25398479.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Re: tomcat & url rewrite

2009-09-11 Thread Pid
On 11/09/2009 08:07, André Warnier wrote: WILLIAMer wrote: I get a problem with the URL. My application has url rewrite for SEO. I use this format http://mydomain/item.html for display. There is an error that if the item name like LF/123, then the url become http://mydomain/LF/123.html. Because

Re: tomcat & url rewrite

2009-09-11 Thread André Warnier
WILLIAMer wrote: I get a problem with the URL. My application has url rewrite for SEO. I use this format http://mydomain/item.html for display. There is an error that if the item name like LF/123, then the url become http://mydomain/LF/123.html. Because of the name include "/" character. I got t

tomcat & url rewrite

2009-09-10 Thread WILLIAMer
error like tomcat think i has a directory named "LF" under my application root directory. I dont know this question belong tomcat or url rewrite. -- View this message in context: http://www.nabble.com/tomcat---url-rewrite-tp25395691p25395691.html Sent from the Tomcat - User mailing list a

RE: Tomcat URL Rewrite. Help with configuration.

2009-03-18 Thread Rodro
om] >> Subject: Re: Tomcat URL Rewrite. Help with configuration. >> >> Though redirection didn't work, but furthermore when I try to see >> http://localhost:8080/rewrite-status, I get the below error: >> Estado HTTP 404 - /rewrite-status > > That would be expect

Re: Tomcat URL Rewrite. Help with configuration.

2009-03-11 Thread Rodro
rograma\Apache Software Foundation\Tomcat >> >> 5.5\webapps\tomcat-docs\appdev\sample\web >> >> >> >> In which one should I extract the zip file into? >> >> Thanks and best regards. >> >> Rodrigo Allende. >> > >> > Rodrigo, >> > somewher

RE: Tomcat URL Rewrite. Help with configuration.

2009-03-11 Thread Caldarale, Charles R
> From: Rodro [mailto:rodrigo_alle...@ibi.com] > Subject: Re: Tomcat URL Rewrite. Help with configuration. > > Though redirection didn't work, but furthermore when I try to see > http://localhost:8080/rewrite-status, I get the below error: > Estado HTTP 404 - /rewrit

Re: Tomcat URL Rewrite. Help with configuration.

2009-03-11 Thread Ben Hu
d I extract the zip file into? > >> Thanks and best regards. > >> Rodrigo Allende. > > > > Rodrigo, > > somewhere above there, you mention your original URL > > http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=carinst > > > > So, apart from all the webapp/* directo

Re: Tomcat URL Rewrite. Help with configuration.

2009-03-11 Thread Rodro
all the webapp/* directories which you are mentioning > just above here, you must have a /ibi_apps/WEB-INF directory somewhere, no > ? > If you do, then that's the one in which you should unpack that zip. > And if you don't, then there is something that you are not telling us.. > > &g

Re: Tomcat URL Rewrite. Help with configuration.

2009-03-10 Thread André Warnier
Rodro wrote: Dear Tomcat Users. I'm trying to do a URL masking on Tomcat 5.5.25. What I specifically want to do is: I execute (call) an app with the following URL: http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=carinst Now, I need to mask the URL to get the same result calling the app as:

Tomcat URL Rewrite. Help with configuration.

2009-03-10 Thread Rodro
oundation\Tomcat 5.5\webapps\tomcat-docs\appdev\sample\web In which one should I extract the zip file into? Thanks and best regards. Rodrigo Allende. -- View this message in context: http://www.nabble.com/Tomcat-URL-Rewrite.-Help-with-configuration.-tp22446210p22446210.html Sent from the Tomcat -