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
-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
--
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
-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
> 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
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
-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
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
-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
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
-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
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
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
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
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
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
:
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
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
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
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
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
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
> 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
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
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
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:
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 -
27 matches
Mail list logo