AllowOverride None
Order allow,deny
Allow from all
But is there a better approach for this so that I don't have to create
static content aliases for each new Tomcat app I deploy? I would be
stuck using a unique alias for every app which seems crazy.
Thanks,
Eric
2012/1/13 Eric P :
>
Hi all,
I'm having trouble getting Apache to serve static content (jpg, css, js, etc.)
for Tomcat apps via mod_jk for any
application except the ROOT Tomcat app. The ROOT app shows static content just
fine.
I have the following Apache settings attempting to point *all* requests to
Tomcat and
ssed.
Anyway, you all were super helpful. Thanks again!
Eric P.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
would be
triggered incessantly any time attributes are added/removed when in fact I'm only actually interested in the 'send
email' attribute.
Anyway, I'm open to all ideas and appreciate you indulging me this far.
Eric P.
-
s with a JSP that sleeps, etc.
Shay,
I think you made a good case for keeping app vars in web.xml (i.e., seems
pretty apparent now that's where they belong).
Thanks for taking the time to respond. I sincerely appreciate it!
Eric P.
---
Shay,
Forgive all potential newbness in my responses below. I'm still learning this
stuff.
Shay Rojansky wrote:
Hi Eric.
Would making your servlet reload all application vars not be akin to simply
reloading your servlet altogether, by changing context/init params in your
web.xml or context.x
her possibly better ways to go about this.
Thanks for reading,
Eric P.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Caldarale, Charles R wrote:
From: Eric P [mailto:eric.maill...@gmail.com]
Subject: Where to store uploaded user content in app
For example, in my application I was thinking I would create
an empty directory under /web/WEB-INF for the non-web accessible
image uploads and another empty
Hi ya,
I have an application that I want to write that would allow users to upload an image to somewhere non-web accessible and
said image is then later moved somewhere web accessible (after image moderation).
For example, in my application I was thinking I would create an empty directory unde
$CATALINA_HOME/conf/Catalina/dummyapps/ROOT.xml
Where did you get that location for a element? It certainly didn't
come from the docs, nor from Peter's or my messages. Go back and reread them all.
To quote from Peter's message:
Yep, I had that wrong. I was getting the name and appBase
Caldarale, Charles R wrote:
From: Peter McNeil [mailto:pe...@mcneils.net]
Subject: Re: Virtual host set-up woes
1. edit conf/server.xml and add a section inside the tag
that looks like this:-
2. create a directory inside your tomcat home directory called
"yourhostapps" as defined above
I'm struggling big time trying to set up a virtual host in Tomcat.
I'm running Tomcat version 6.0.18 under Linux and nothing else (i.e., no Apache
web server, etc.).
I've read the official 6.0 docs here over and over.
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
But it se
> I'll bet the only thing your code does with a JNDI string is perform the
lookup and get a Datasource. You could implement multiple constructors
allowing your code to be initialized w/ a JNDI string, DataSource
object, or url/username/password. The code utilizing the model classes
would simpl
ase access?
Thanks for reading. I'm open to any/all ideas.
Eric P.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
14 matches
Mail list logo