On Nov 26, 2007 5:22 PM, Rocco Scappatura <[EMAIL PROTECTED]> wrote:
> > ?? That article doesn't mention mod_rewrite at all, so I'm not sure
> > what it has to do with anything...
>
> Im trying to use mod_proxy_html
Ah, I was reading mod_proxy_http -- never heard of this one, and
it doesn't seem t
> ?? That article doesn't mention mod_rewrite at all, so I'm not sure
> what it has to do with anything...
Im trying to use mod_proxy_html
>> But I have to find:
>>
>> - mod_proxy_html.so for windows
>> - it's prerequisites (libxml2.so)
>
> ..and AFAIK you don't need either of those to use mod_re
On Nov 26, 2007 4:39 PM, Rocco Scappatura <[EMAIL PROTECTED]> wrote:
> Your wishes has taken effect! Infact, I ve tried the solution.
>
> http://www.apachetutor.org/admin/reverseproxies
?? That article doesn't mention mod_rewrite at all, so I'm not sure
what it has to do with anything...
> But I
>> How I have to do so that app does'n create absolute paths relative to
>> the
>> context of the application running under Tomcat?
>
> rewrite the app :-)
>
>> This problems is a clear example of how mod_proxy_* is unusable when
>> application to be proxed contains lynks create dynamically? Or is
On Nov 26, 2007 3:26 PM, Rocco Scappatura <[EMAIL PROTECTED]> wrote:
> How I have to do so that app does'n create absolute paths relative to the
> context of the application running under Tomcat?
rewrite the app :-)
> This problems is a clear example of how mod_proxy_* is unusable when
> applica
> Such a proxy configuration may require manipulation of the
> HTML links.
Why? I think that this is not feasible!
> Are the links being created dynamically or are they hard coded with
css/style.css instead of /app/css/style.css and so on.
Sorry I have no path in style.css..
I wanna show with
>> Someone know why the pages that I get via reverse proxy are relative to
>> the real web server and not to the proxy server?
>>
>> eg:
>>
>> ProxyPass / http://localhost:8081/app/
>> ProxyPassReverse / http://localhost:8081/app/
>>
>> when I access http://www.example.com (www.example.com resolves
Someone know why the pages that I get via reverse proxy are relative to
the real web server and not to the proxy server?
eg:
ProxyPass / http://localhost:8081/app/
ProxyPassReverse / http://localhost:8081/app/
when I access http://www.example.com (www.example.com resolves to proxy
server), I
> > verify the right version of modules (mod_proxy_ajp.so) are in
> > %APACHE_HOME%/modules folderstart here
> > http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html
> >
>
> Im using the module mod_proxy_ajp.so that comes with Apache
> 2.2.6 which I'm using. The version of Tomcat 5.5 that Im
>
> verify the right version of modules (mod_proxy_ajp.so) are in
> %APACHE_HOME%/modules folderstart here
> http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html
>
Im using the module mod_proxy_ajp.so that comes with Apache 2.2.6 which
I'm using. The version of Tomcat 5.5 that Im using is To
verify the right version of modules (mod_proxy_ajp.so) are in
%APACHE_HOME%/modules folderstart here
http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html
CiaoMartin __Disclaimer and
confidentiality noteEverything in this e-mail and any attachments
> If you were using apache infront of tomcat you can use the proxy to do
> this for you I think
>
> ProxyPass / ajp13://localhost:8009/app/
>
> any requests for '/' go to '/app/' on tomcat
>
> Hope that helps
Sorry, but I have noted an important thing:
In my server.xml (as read from a tutorial
ht
>
> add another CNAME (Canonical Name) for
> http://foo.example.comhttp://httpd.apache.org/docs/1.3/vhosts/examples.html#purename
>
> Martin __Disclaimer and
> confidentiality noteEverything in this e-mail and any attachments relates
> to the official
add another CNAME (Canonical Name) for
http://foo.example.comhttp://httpd.apache.org/docs/1.3/vhosts/examples.html#purename
Martin __Disclaimer and
confidentiality noteEverything in this e-mail and any attachments relates to
the official business of
> If you were using apache infront of tomcat you can use the proxy to do
> this for you I think
>
> ProxyPass / ajp13://localhost:8009/app/
>
> any requests for '/' go to '/app/' on tomcat
David,
I'm experimenting Apache2.2+mod_proxy_* in front of Tomcat5.5.
I have simply put:
ProxyPass /blog/
> If you were using apache infront of tomcat you can use the
> proxy to do this for you I think
>
> ProxyPass / ajp13://localhost:8009/app/
>
> any requests for '/' go to '/app/' on tomcat
>
> Hope that helps
Infact, this seems to me my last chance..
I'll let you know..
Thanks,
rocsca
--
If you were using apache infront of tomcat you can use the proxy to do
this for you I think
ProxyPass / ajp13://localhost:8009/app/
any requests for '/' go to '/app/' on tomcat
Hope that helps
D
On Fri, 2007-11-23 at 09:43 +0100, Rocco Scappatura wrote:
> > do you want your app to be the d
> do you want your app to be the default one?
Not necessarily.
> And even the app name can be avoid in a URL Path?
Yes, but look below to understand precisily what I really want.
I have an application, say 'app'. I access it trhough:
http://www.example.com/app
I have a valid URL:
http://www.
> You should not be attempting to place a web application
> actually inside the deployed directory of another web application.
>
> In your case, if you have two war files from roller, a blog
> app and an admin app, then place them both in the appBase for
> the Host:
>
> roller.war -> my
do you want your app to be the default one?
And even the app name can be avoid in a URL Path?
--
From: "Pid" <[EMAIL PROTECTED]>
Sent: Friday, November 23, 2007 4:07 PM
To: "Tomcat Users List"
Subject: Re: Tomcat 6 v
Rocco Scappatura wrote:
>
>
>> On Nov 22, 2007 3:18 PM, Rocco Scappatura <[EMAIL PROTECTED]>
>> wrote:
>>
>>> But I get the sad surprise that indeed roller/blog is not a valid path
>>> on
>>> the filesystem. It is merely a path of a context created on the fly from
>>> data cointained in the rolle
Rocco Scappatura wrote:
>>> 2) Suppose that I have another level inside the root webapps dir (eg:
>>> http://mysite.com:8080/toto/subdir/hello.jpg) and I would like to access
>>> to the URL above with http://alias1.com:8080/hello.jpg. How I behave
>>> myself in this situation? :-(
>> If you mea
> On Nov 22, 2007 3:18 PM, Rocco Scappatura <[EMAIL PROTECTED]>
> wrote:
>
>> But I get the sad surprise that indeed roller/blog is not a valid path
>> on
>> the filesystem. It is merely a path of a context created on the fly from
>> data cointained in the roller data base (I suppose).
>
> /roll
On Nov 22, 2007 3:18 PM, Rocco Scappatura <[EMAIL PROTECTED]> wrote:
> But I get the sad surprise that indeed roller/blog is not a valid path on
> the filesystem. It is merely a path of a context created on the fly from
> data cointained in the roller data base (I suppose).
/roller is a Context p
>> 2) Suppose that I have another level inside the root webapps dir (eg:
http://mysite.com:8080/toto/subdir/hello.jpg) and I would like to
access
>> to the URL above with http://alias1.com:8080/hello.jpg. How I behave
myself in this situation? :-(
> If you mean a second virtual host, then you w
> On Nov 22, 2007 1:41 PM, Rocco Scappatura <[EMAIL PROTECTED]>
> wrote:
>
>> 1) What's happen if I have 2 app which I want to assign the root URL?
>> Sure
>> I can't rename both WARs as ROOT.war... :-(
>
> Sure you can -- each virtual host should have a unique appBase.
Having two different Con
Rocco Scappatura wrote:
>>> I want to access this URL using the following alias in my browser:
>>>
>>> http://alias1.com:8080/hello.jpg (note that the context name TOTO is
>>> gone)
>>>
>>>
>>>
>>> So I need to link a virtual host to an application right? I look to but
>>> alias in the context.xml
On Nov 22, 2007 1:41 PM, Rocco Scappatura <[EMAIL PROTECTED]> wrote:
> 1) What's happen if I have 2 app which I want to assign the root URL? Sure
> I can't rename both WARs as ROOT.war... :-(
Sure you can -- each virtual host should have a unique appBase.
Again, this is covered in the virtual ho
>> I want to access this URL using the following alias in my browser:
>>
>> http://alias1.com:8080/hello.jpg (note that the context name TOTO is
>> gone)
>>
>>
>>
>> So I need to link a virtual host to an application right? I look to but
>> alias in the context.xml file .. I haven't found anything
David Gagnon wrote:
> Hi all,
>
>
>
> I reading the doc for hours now and searching the web without success.
> Maybe my understanding of virtual hosting is wrong. if any of you can just
> correct my understanding and point me in the right direction I will greatly
> appreciate it.
>
>
>
>
On Nov 22, 2007 10:50 AM, David Gagnon <[EMAIL PROTECTED]> wrote:
> http://mysite.com:8080/toto/hello.jpg
> I want to access this URL using the following alias in my browser:
> http://alias1.com:8080/hello.jpg (note that the context name TOTO is gone)
Rename toto.war to ROOT.war, which signifies
Hi all,
I reading the doc for hours now and searching the web without success.
Maybe my understanding of virtual hosting is wrong. if any of you can just
correct my understanding and point me in the right direction I will greatly
appreciate it.
I have an application i.e.:toto.war that I
32 matches
Mail list logo