Graeme Kidd wrote:
Hi,
Is there a way to configure tomcat to prevent some one from downloading a file I host when they are not within my domain?
You may want to have a look here :
http://tuckey.org/urlrewrite/
It's a bit like the Swiss Army knife for this kind of thing.
You would normally
André Warnier wrote:
Graeme Kidd wrote:
Hi,
Is there a way to configure tomcat to prevent some one from
downloading a file I host when they are not within my domain?
You may want to have a look here :
http://tuckey.org/urlrewrite/
It's a bit like the Swiss Army knife for this kind of
Graeme-
if I interpret the requirement correctly you need some manner of rewriting the
URL?
with Tomcat you can use URLRewrite available from tuckey
http://tuckey.org/urlrewrite/
anyone?
Martin
__
Disclaimer and Confidentiality/Verzicht und
I think you got it right the first time. The OP wants to make sure
the referrer header is present and starts with http://www.mydomain.com
as opposed to http://www.anotherdomain.com. It'll help prevent other
sites from linking directly to resources on the OP's site.
-- David
On Apr 19,
David Smith wrote:
I think you got it right the first time. The OP wants to make sure the
referrer header is present and starts with http://www.mydomain.com as
opposed to http://www.anotherdomain.com. It'll help prevent other sites
from linking directly to resources on the OP's site.
From: siranjeevi krishnan [mailto:siranjee...@gmail.com]
Subject: Re: Need to share JVM for both tomcat and RMI server
But it search the server.xml in C:\Program Files\myApp\conf\server.xml
instead of tomcat\conf\server.xml.
You need to set the value of the catalina.base and catalina.home
On Sun, Apr 19, 2009 at 7:37 AM, André Warnier a...@ice-sa.com wrote:
But basing the acceptance or rejection on a HTTP request header sent by the
browser is not absolutely secure, in the sense that this can easily be faked
using any HTTP client agent such as wget, curl, lwp-request etc..
Thanks André,
urlrewrite seems a suficiant solution for now as I only want to block people if
they try and acess the file from outside my domain. If my understanding is
correct blocking by IP although harder to fake would prevent them no matter
what.
There is an example given in the
Hello guys.
I can't fix my maven2+wicket application to be redeployed less than 15
seconds, but I want it to take 5 seconds at least.
Could someone provide the fastest in the world practise of webapp on
Tomcat redeployment???
Precondition ( inital deployment): copy war dir with my webapp
Dear Khlystov,
1. 5 second (using maven) compile source ( usually it is 1 or 2
files )
2. 0 second copy *.class file into Tomcat/webapps
Stop using Maven for simple compiles and write a small shell script
that just calls javac with the webapp's WEB-INF/classes as output dir.
3. 5-7
Kees Jan Koster wrote:
Dear Khlystov,
1. 5 second (using maven) compile source ( usually it is 1 or 2 files )
2. 0 second copy *.class file into Tomcat/webapps
Stop using Maven for simple compiles and write a small shell script that
just calls javac with the webapp's WEB-INF/classes as
Thanks, Kees!
I'll implement your advices, and will reply with results.
Kees Jan Koster пишет:
Dear Khlystov,
1. 5 second (using maven) compile source ( usually it is 1 or 2 files )
2. 0 second copy *.class file into Tomcat/webapps
Stop using Maven for simple compiles and write a small
Thanks, for reply Pid.
Hardware is fast enough 2 Gb RAM, 2 Ghz CPU dual core athlon 64.
Sorry, I did not get your message. What do you think is not meaningful?
Some times and need to redeploy webapp 10 times in 10 minutes.
Pid пишет:
Kees Jan Koster wrote:
Dear Khlystov,
1. 5
I have 10 seconds now instead of 15 with 2 of 3 options:
backgroundProcessorDelay=1
Context docBase=hello-webapp path=/hello-webapp reloadable=true
antiJARLocking=true backgroundProcessorDelay=1/
and
lazy-init for all beans.
Cool! thanks again.
Now I'm going to sleep, and will implement
Hi.
I am far from being the specialist here, but my inner application
designer core revolts at the idea of having a thread in Tomcat busy at
nothing else but checking 86,400 times a day, just in case you redeploy
an application from time to time.
There must exist a more efficient mechanism
I'll start by giving a brief history:
We have multiple sites on our old host that ran under IIS and Resin fine for
years, we recently switched to a dedicated server using windows 2k3. Under IIS
we installed the isapi connector tool from apache version 1.2.27, and we are
currently using
Fix for step 3. Don't wait for Tomcat to detect changes. See
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html or use
org.apache.catalina.ant.ReloadTask (which uses the manager). My compile command
automaticly calls this after a succesful compile.
Another tip: test business logic
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: 15 second for redeployment is to much
I'm curious to see Chuck's reaction to this thread.
How about pointless? Somewhat akin to debating the number of angels that can
dance on the head of a pin.
- Chuck
THIS COMMUNICATION MAY
Andre-John Mas wrote:
the only thing which seems odd is the generated tar balls are marked as
5.5.26. Is this normal?
No :). That is a bug.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional
Caldarale, Charles R wrote:
From: Andre-John Mas [mailto:aj...@sympatico.ca]
Subject: Building Tomcat 5.5.27 tomcat-native
I am trying to build 5.5.27, but it is asking for tomcat-native
1.1.12, though I see that only 1.1.16 is available. This being the
case, a couple of questions:
- is
I have the same problem: just applied windows update to my windows 2003
server and tomcat 6 doesn't start due to Could not reserve enough space for
object heap.
I see a lot of free ram, and disk space, but the only way to start has been
to lower -Xmx value.
No clue to what happened, but it's
On 19-Apr-2009, at 14:57, André Warnier wrote:
Hi.
I am far from being the specialist here, but my inner application
designer core revolts at the idea of having a thread in Tomcat busy
at nothing else but checking 86,400 times a day, just in case you
redeploy an application from time to
On 19-Apr-2009, at 16:45, Mark Thomas wrote:
Andre-John Mas wrote:
the only thing which seems odd is the generated tar balls are
marked as
5.5.26. Is this normal?
No :). That is a bug.
I suppose it is the wrong time to open a ticket for this, but for
5.5.28 would it be worth opening a
Hi,
I have a problem iterating a LinkedHashMapInteger, Object lhmObject.
The lhmObject.size() gives correct size and lhmObject.keySet().toString gives
the correct values.
However, if I try iterate the object with lhmObject.keySet() with an empty loop:
for (Integer key : lhmObject.keySet() ) {
24 matches
Mail list logo