Re: Virtual Host Alias ignored?

2012-08-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, On 8/29/12 12:09 PM, Jeff Wild wrote: > I have a A record for mydomain.com and a CNAME record for > www.mydomain.com. > > When I enter domain.com in my browser, everything works fine but > www.domain.com results in "Server not found." Did yo

Re: Virtual Host Alias ignored?

2012-08-29 Thread Konstantin Kolinko
2012/8/30 Jeff Wild : > -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Wednesday, August 29, 2012 11:49 AM > To: Tomcat Users List > Subject: Re: Virtual Host Alias ignored? > > 2012/8/29 Jeff Wild : >> Tomcat 6 (standal

RE: Virtual Host Alias ignored?

2012-08-29 Thread Jeff Wild
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, August 29, 2012 11:49 AM To: Tomcat Users List Subject: Re: Virtual Host Alias ignored? 2012/8/29 Jeff Wild : > Tomcat 6 (standalone), several virtual hosts > > > > I have

Re: Virtual Host Alias ignored?

2012-08-29 Thread Konstantin Kolinko
2012/8/29 Jeff Wild : > Tomcat 6 (standalone), several virtual hosts > > > > I have a A record for mydomain.com and a CNAME record for > www.mydomain.com. > > When I enter domain.com in my browser, everything works fine but > www.domain.com results in "Server not found." > > > > 1. Is my configurat

Re: virtual host for apache/tomcat server

2011-03-31 Thread Tobias Crefeld
Am Thu, 31 Mar 2011 07:49:07 -0400 schrieb James Pifer : > So I have a web server at: http://server.domain.com that has just > static web pages, etc. > > I have a tomcat jsp that I want to respond to > http://myapp.domain.com. > > I setup a VirtualHost similar to you example, but when I go > t

Re: virtual host for apache/tomcat server

2011-03-31 Thread James Pifer
On Thu, 2011-03-31 at 00:57 +0200, Tobias Crefeld wrote: > Am Wed, 30 Mar 2011 15:09:12 -0400 schrieb James Pifer > : > > > Ok, my httpd.conf is pretty standard. It includes proxy_ajp.conf > > which has: > > > > LoadModule proxy_ajp_module modules/mod_proxy_ajp.so > > ProxyPass /tomcat/ ajp://lo

Re: virtual host for apache/tomcat server

2011-03-30 Thread Tobias Crefeld
Am Wed, 30 Mar 2011 15:09:12 -0400 schrieb James Pifer : > Ok, my httpd.conf is pretty standard. It includes proxy_ajp.conf > which has: > > LoadModule proxy_ajp_module modules/mod_proxy_ajp.so > ProxyPass /tomcat/ ajp://localhost:8009/ I only have some experience with Tomcat-6, not Tomcat-5.5,

Re: virtual host for apache/tomcat server

2011-03-30 Thread James Pifer
On Wed, 2011-03-30 at 14:53 -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > James, > > On 3/30/2011 2:36 PM, James Pifer wrote: > > I have the following installed on CentOS 5.5 > > httpd-2.2.3-43.el5.centos.3 > > tomcat5-5.5.23 > > Any opportunity to upgra

Re: virtual host for apache/tomcat server

2011-03-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 3/30/2011 2:36 PM, James Pifer wrote: > I have the following installed on CentOS 5.5 > httpd-2.2.3-43.el5.centos.3 > tomcat5-5.5.23 Any opportunity to upgrade? Tomcat 5.5.23, while current and still supported, is basically in maintenance-mo

Re: Virtual host, alias and context parameters

2010-12-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien, On 12/11/2010 10:50 AM, Julien Martin wrote: > Thanks all for your replies and sorry for the upper case. > I am already parsing the domain name in my app and I think I will stick to > that. I'm a bit late to the thread, but here's a suggestio

Re: Virtual host, alias and context parameters

2010-12-11 Thread Julien Martin
Thanks all for your replies and sorry for the upper case. I am already parsing the domain name in my app and I think I will stick to that. Regards, J. 2010/12/11 André Warnier > Let me add something to my previous answer, to kind of wrap up also what > the others responded. > > (a) With the Alia

Re: Virtual host, alias and context parameters

2010-12-11 Thread André Warnier
Let me add something to my previous answer, to kind of wrap up also what the others responded. (a) With the Alias solution, there will be a single copy of your web application. To react differently depending on the hostname that the users call up, that web application can get the hostname of t

Re: Virtual host, alias and context parameters

2010-12-11 Thread Konstantin Kolinko
2010/12/11 Julien Martin : > -MOST > IMPORTANTLY, having for each domain name a unique context parameter > (therefore different for each domain name) that I will retrieve in my app to > display different information to my users accordingly. > You can create the following file, as mentioned in [1]:

Re: Virtual host, alias and context parameters

2010-12-11 Thread André Warnier
Julien Martin wrote: Hello, I need to achieve the following: -Having two domain names pointing to the same tomcat application and MOST IMPORTANTLY, having for each domain name a unique context parameter (therefore different for each domain name) that I will retrieve in my app to display different

Re: Virtual host, alias and context parameters

2010-12-11 Thread Pid
On 11/12/2010 09:47, Julien Martin wrote: > Hello, > I need to achieve the following: > -Having two domain names pointing to the same tomcat application and MOST > IMPORTANTLY, having for each domain name a unique context parameter > (therefore different for each domain name) that I will retrieve i

Re: Virtual host deployment

2010-09-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec, On 9/14/2010 5:52 PM, Alec Swan wrote: > The deployment scenario I would like to support requires deploying the same > WAR file on the development server first and then on the production server. > Development and production servers use different

Re: Virtual host deployment

2010-09-14 Thread Pid
On 15/09/2010 04:46, Alec Swan wrote: > Could anybody explain what is the advantage of configuring JNDI resources > using GlobalNamingResources in server.xml over configuring them in > TOMCAT/conf/context.xml? If configured in global, 1 db pool is created and then referenced/shared by multiple app

Re: Virtual host deployment

2010-09-14 Thread Alec Swan
Could anybody explain what is the advantage of configuring JNDI resources using GlobalNamingResources in server.xml over configuring them in TOMCAT/conf/context.xml? Thanks! Alec On Tue, Sep 14, 2010 at 4:36 PM, Mark Thomas wrote: > On 14/09/2010 23:33, Alec Swan wrote: > > Thanks, I'll give i

Re: Virtual host deployment

2010-09-14 Thread Mark Thomas
On 14/09/2010 23:33, Alec Swan wrote: > Thanks, I'll give it a try. > > Still kind of curious if GlobalResources override resources in > META-INF/context.xml, but I guess I will find that out soon. They are in different JNDI name spaces so no. (which is why you need to use a ResourceLink) Mark

Re: Virtual host deployment

2010-09-14 Thread Alec Swan
Thanks, I'll give it a try. Still kind of curious if GlobalResources override resources in META-INF/context.xml, but I guess I will find that out soon. On Tue, Sep 14, 2010 at 4:13 PM, Pid wrote: > On 14/09/2010 23:10, Alec Swan wrote: > > GlobalResources sounds like what I am looking for. Acco

Re: Virtual host deployment

2010-09-14 Thread Pid
On 14/09/2010 23:10, Alec Swan wrote: > GlobalResources sounds like what I am looking for. According this page ( > http://tomcat.apache.org/tomcat-6.0-doc/config/globalresources.html) it > seems like I need to just add the following configuration in server.xml: > > > ... >type="

Re: Virtual host deployment

2010-09-14 Thread Alec Swan
GlobalResources sounds like what I am looking for. According this page ( http://tomcat.apache.org/tomcat-6.0-doc/config/globalresources.html) it seems like I need to just add the following configuration in server.xml: ... ... If I understand correctly, this will make jdbc/EmployeeDB JND

RE: Virtual host deployment

2010-09-14 Thread Caldarale, Charles R
> From: Alec Swan [mailto:alecs...@gmail.com] > Subject: Re: Virtual host deployment > So, the database credentials should be stored somewhere > in the server configuration. Then place the element in conf/Catalina/[host]/[appName].xml. Should you really need multiple el

Re: Virtual host deployment

2010-09-14 Thread Pid
On 14/09/2010 22:52, Alec Swan wrote: > Hi Chris, > > Thank you for the defaultHost recommendation. > > The deployment scenario I would like to support requires deploying the same > WAR file on the development server first and then on the production server. > Development and production servers us

Re: Virtual host deployment

2010-09-14 Thread Alec Swan
Hi Chris, Thank you for the defaultHost recommendation. The deployment scenario I would like to support requires deploying the same WAR file on the development server first and then on the production server. Development and production servers use different database credentials, so I cannot packag

Re: Virtual host deployment

2010-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec, On 9/14/2010 5:04 PM, Alec Swan wrote: > I have a WAR file which I distribute to multiple servers with multiple > virtual hosts. On each server I have a database, which is accessed by all > virtual host apps on this server. I'm interested: is t

Re: virtual host configuration

2010-04-22 Thread Leon Kolchinsky
Try here http://myunster.com/blog/10.html Best Regards, Leon Kolchinsky On Thu, Apr 22, 2010 at 12:00, daulat khan wrote: > Hi, > > I am planning to setup virtual hosting in apache-tomcat integrated > setup. Please share useful links or docs which will help me

Re: virtual host configuration

2010-04-21 Thread Konstantin Kolinko
2010/4/22 daulat khan : > Hi, > > I am planning to setup virtual hosting in apache-tomcat integrated > setup. Please share useful links or docs which will help me in > accomplishing this. > > also  using, > > httpd v2.2.14 > tomcat v6.0.20 > tomcat connector v1.2.28 > http://localhost:8080/docs/vi

Re: Virtual host set-up woes

2010-02-21 Thread Eric P
$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

RE: Virtual host set-up woes

2010-02-20 Thread Caldarale, Charles R
> From: Eric P [mailto:eric.maill...@gmail.com] > Subject: Re: Virtual host set-up woes > > But I only get an blank page for a simple index.jsp file Indicative of a messed up configuration that doesn't have a default webapp. > $CATALINA_HOME/conf/server.xml >

Re: Virtual host set-up woes

2010-02-20 Thread Eric P
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 def

RE: Virtual host set-up woes

2010-02-20 Thread Caldarale, Charles R
> 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:- > unpackWARs="true" autoDeploy="true" > xmlValid

Re: Virtual host set-up woes

2010-02-20 Thread Hassan Schroeder
On Fri, Feb 19, 2010 at 11:28 PM, Eric P wrote: > 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 seems like these docs are trying to give me a whole new context where > I can put more webapps (maybe I'm missing t

Re: Virtual host set-up woes

2010-02-20 Thread Peter McNeil
Step by step: 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 e.g. mkdir $tomcathome/yourhostapps 3. create a directory $tomcathome/conf/Catalina/yourhost 4.

Re: Virtual host configuration - best practise?

2009-09-25 Thread Pid
On 25/09/2009 14:03, Pid wrote: On 25/09/2009 08:26, hepabolu wrote: awarnier wrote: hepabolu wrote: ... However, from the Tomcat docs I understand that any change to server.xml requires a restart of Tomcat which would mean that the existing (non-dummy) hosts which are already in productio

Re: Virtual host configuration - best practise?

2009-09-25 Thread Pid
On 25/09/2009 08:26, hepabolu wrote: awarnier wrote: hepabolu wrote: ... However, from the Tomcat docs I understand that any change to server.xml requires a restart of Tomcat which would mean that the existing (non-dummy) hosts which are already in production, i.e. up and running, will also

Re: Virtual host configuration - best practise?

2009-09-25 Thread hepabolu
awarnier wrote: > > hepabolu wrote: > ... > >> However, from the Tomcat docs I understand that any change to server.xml >> requires a restart of Tomcat which would mean that the existing >> (non-dummy) >> hosts which are already in production, i.e. up and running, will also be >> taken offline.

RE: Virtual host configuration - best practise?

2009-09-21 Thread George Sexton
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, September 18, 2009 3:26 PM > To: Tomcat Users List > Subject: Re: Virtual host configuration - best practise? > > -BEGIN PGP SIGNED MESSAGE- > Hash: S

RE: Virtual host configuration - best practise?

2009-09-21 Thread Jeffrey Janner
pdating files anyway, I preferred a more obvious method. -Original Message- From: George Sexton [mailto:geor...@mhsoftware.com] Sent: Friday, September 18, 2009 2:15 PM To: 'Tomcat Users List' Subject: RE: Virtual host configuration - best practise? > -Original Message-

RE: Virtual host configuration - best practise?

2009-09-20 Thread hepabolu
Caldarale, Charles R wrote: > >> From: hepabolu [mailto:hepab...@gmail.com] >> Subject: Re: Virtual host configuration - best practise? >> >> Somebody suggested using the host manager, but from the Tomcat docs I >> understand that the host manager is in

RE: Virtual host configuration - best practise?

2009-09-19 Thread Caldarale, Charles R
> From: hepabolu [mailto:hepab...@gmail.com] > Subject: Re: Virtual host configuration - best practise? > > Somebody suggested using the host manager, but from the Tomcat docs I > understand that the host manager is intended for deploying webapps in a > single domain No, that

Re: Virtual host configuration - best practise?

2009-09-19 Thread André Warnier
hepabolu wrote: ... However, from the Tomcat docs I understand that any change to server.xml requires a restart of Tomcat which would mean that the existing (non-dummy) hosts which are already in production, i.e. up and running, will also be taken offline. This is the heart of the problem... J

Re: Virtual host configuration - best practise?

2009-09-19 Thread hepabolu
Hi, Christopher Schultz-2 wrote: > > It's been demonstrated that you can use the XML parser to include one > XML file in another file (say, include myhosts.xml from server.xml). > Given that, you could have a process whereby you update Tomcat > on-the-fly, but also modify the myhosts.xml file a

Re: Virtual host configuration - best practise?

2009-09-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 9/18/2009 3:15 PM, George Sexton wrote: > No. Use the host manager to deploy/undeploy virtual hosts on the fly. When > you re-start tomcat, have a program create the server.xml so that all of the > one's you deployed using the host manager

RE: Virtual host configuration - best practise?

2009-09-18 Thread George Sexton
> -Original Message- > From: hepabolu [mailto:hepab...@gmail.com] > Sent: Friday, September 18, 2009 1:06 PM > To: users@tomcat.apache.org > Subject: RE: Virtual host configuration - best practise? > > > > > George Sexton wrote: > > > > >

RE: Virtual host configuration - best practise?

2009-09-18 Thread hepabolu
George Sexton wrote: > > > Another way of getting there is scripting commands to the Tomcat Host > Manager application. You can deploy the new hosts on the fly. It's pretty > straight forward. > > The downside to this approach, and probably JMX as well is that it doesn't > update server.xml a

RE: Virtual host configuration - best practise?

2009-09-18 Thread George Sexton
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Friday, September 18, 2009 11:12 AM > To: Tomcat Users List > Subject: Re: Virtual host configuration - best practise? > > hepabolu wrote: > > Hi, > > > > I need to cre

Re: Virtual host configuration - best practise?

2009-09-18 Thread Mark Thomas
hepabolu wrote: > Hi, > > I need to create the following situation: > - each client uses a war (all use the same war file) with configuration > files that are different for every client > - each client's configuration should be addressable by a different URL, e.g. > domainX, domainY > > So in To

RE: Virtual host configuration problems

2009-05-12 Thread Caldarale, Charles R
> From: JDawg72 [mailto:mr.j@hotmail.com] > Subject: RE: Virtual host configuration problems > > what has to happen when I need to add another > domain and application to this instance of Tomcat? A domain may have many webapps deployed for it. Each domain also has to ha

Re: Virtual host configuration problems

2009-05-12 Thread Hassan Schroeder
On Tue, May 12, 2009 at 10:13 AM, JDawg72 wrote: > > ... but what has to happen when I need to add another > domain and application to this instance of Tomcat? -- Hassan Schroeder hassan.schroe...@gmai

RE: Virtual host configuration problems

2009-05-12 Thread JDawg72
Thanks Chuck, that worked but what has to happen when I need to add another domain and application to this instance of Tomcat? Jeremy Caldarale, Charles R wrote: > >> From: JDawg72 [mailto:mr.j@hotmail.com] >> Subject: RE: Virtual host configuration problems >> &g

RE: Virtual host configuration problems

2009-05-12 Thread Caldarale, Charles R
> From: JDawg72 [mailto:mr.j@hotmail.com] > Subject: RE: Virtual host configuration problems > > >Your default webapp should be located in /home/userId/public_html/ROOT > - > nowhere else, and its > element >>should be in > /home/userId/public_html/ROOT/META

RE: Virtual host configuration problems

2009-05-12 Thread JDawg72
Thanks for you reply Chuck, I am using DailyRazor as my web hosting provider. The operating system is Linux kernel version 2.6.27.18-14, Tomcat version 5.5.26, and JVM is 1.5.0_15-b04. This is a private JVM configuration provided by DailyRazor. I purchased this server configuration because I a

RE: Virtual host configuration problems

2009-05-12 Thread Caldarale, Charles R
> From: JDawg72 [mailto:mr.j@hotmail.com] > Subject: Virtual host configuration problems > > That being said, I am having a problem configuring my web application > to load when I type www.mydomain.com in my browser address bar. > My application does work as long as I type www.mydomain.com/my

Re: virtual host and cgi-bin

2008-09-04 Thread Sathish Vadhiyar
It worked! Much simpler than all the solutions I have tried so far. Thanks a lot for helping me solve this. - Sathish > Sathish Vadhiyar wrote: >> Hi, >> >> I have set up a virtual host named app in my server.xml as: >> >> >> >> > > appBase must not equal docBase. > > Rename webapps/app to

Re: virtual host and cgi-bin

2008-09-04 Thread Mark Thomas
Sathish Vadhiyar wrote: > Hi, > > I have set up a virtual host named app in my server.xml as: > > > > appBase must not equal docBase. Rename webapps/app to webapps-app/ROOT and use the following See http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html for more info Mark

Re: Virtual Host

2008-08-05 Thread Warren Killian
Hi Nilanthan, Yeah, I think Hassan is correct. Cookies deal more with HTTP Headers than Tomcat itself. You don't have to do anything at all to Tomcat for it to support cookies out of the box. You may want to take a closer look at your particular web application and how it is (or is not as the c

Re: Virtual Host

2008-08-05 Thread Hassan Schroeder
On Tue, Aug 5, 2008 at 9:08 AM, nilanthan <[EMAIL PROTECTED]> wrote: > > I have a virtual host for my domain. Everything works fine but I am having an > issue with jsession/cookies, i think. What settings do I need to have the > jsessionID properly. Absolutely none. It works "out of the box". So

Re: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/core cannot be resolved

2008-06-27 Thread Tom Tugan
> Additionally Mark, having context info within the Host is not invalid. > It's just not the preferred way anymore. > I am well aware of that. However, having appBase == docBase is: > a) invalid > b) entirely the source of your problems. > Mark Thanks Mark. -

RE: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/corecannot be resolved

2008-06-27 Thread Tom Tugan
> No, use a different appBase for each to avoid such issues. Thanks Chuck. That's what I was trying to do but I didn't realize what it looked like. I have a better understanding now. This was my first attempt to have a separate appBase and domain name. I appreciate the free documentation f

Re: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/core cannot be resolved

2008-06-27 Thread Mark Thomas
Tom Tugan wrote: Additionally Mark, having context info within the Host is not invalid. It's just not the preferred way anymore. I am well aware of that. However, having appBase == docBase is: a) invalid b) entirely the source of your problems. Mark

RE: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/corecannot be resolved

2008-06-27 Thread Caldarale, Charles R
> From: Tom Tugan [mailto:[EMAIL PROTECTED] > Subject: Re: Virtual Host gives - Absolute uri: > http://java.sun.com/jsf/corecannot be resolved > > I have multiple web apps. My 'main' goes in ROOT. I don't > want to mix my other, virtually hosted webapps, w

Re: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/core cannot be resolved

2008-06-27 Thread Tom Tugan
Thanks Mark, I have multiple web apps. My 'main' goes in ROOT. I don't want to mix my other, virtually hosted webapps, with what's in root.So, I do webapps/zzz & webapps/yyy and use virtual hosts to relate other domain names to these. Additionally Mark, having context info within the

Re: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/core cannot be resolved

2008-06-26 Thread Mark Thomas
ttcse wrote: In my conf/server.xml I have this for the virtual host... This host/context configuration is invalid. The appBase should be "webapps", the directory "zzz" renamed to "ROOT" and the context element above removed completely. Mark

Re: Virtual-Host issues on Apache-Tomcat

2008-02-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, Jonathan Mast wrote: | It is a Tomcat 404 error. Okay, good. That means that Tomcat is handling the request (rather than Apache handling it) so we are probably not talking about fixing httpd configuration or your connector (mod_whatever).

Re: Virtual-Host issues on Apache-Tomcat

2008-02-29 Thread Jonathan Mast
Thanks for the notes. It is a Tomcat 404 error. So I take it that I can specify a file name (index.jsp) in the configuration and it will default to that file? On Fri, Feb 29, 2008 at 10:57 AM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >

Re: Virtual-Host issues on Apache-Tomcat

2008-02-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, Jonathan Mast wrote: | However it is usually linked, I'm obviously not an expert on this subject. | Perhaps you know a concise summary of how Tomcat and Apahce HTTPD work? Apache can be linked to Tomcat using either HTTP or AJP protocols.

Re: Virtual-Host issues on Apache-Tomcat

2008-02-29 Thread Jonathan Mast
However it is usually linked, I'm obviously not an expert on this subject. Perhaps you know a concise summary of how Tomcat and Apahce HTTPD work? thanks On Thu, Feb 28, 2008 at 1:51 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Jonathan Mast wrote: > > sorry > > > > Tomcat 5.5.1 > > Apache 1.3.3

Re: Virtual-Host issues on Apache-Tomcat

2008-02-28 Thread Mark Thomas
Jonathan Mast wrote: sorry Tomcat 5.5.1 Apache 1.3.33 Java 1.4.2 And you are linking httpd and Tomcat how? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Virtual-Host issues on Apache-Tomcat

2008-02-28 Thread Jonathan Mast
sorry Tomcat 5.5.1 Apache 1.3.33 Java 1.4.2 On Thu, Feb 28, 2008 at 1:19 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Jonathan Mast wrote: > > I'm trying to a subdomain to our site but Tomcat is not finding the > index > > page correctly. > > > > Here are my entries into httpd.conf and server.x

Re: Virtual-Host issues on Apache-Tomcat

2008-02-28 Thread Mark Thomas
Jonathan Mast wrote: I'm trying to a subdomain to our site but Tomcat is not finding the index page correctly. Here are my entries into httpd.conf and server.xml: ServerName foo.site.com DocumentRoot /usr/local/apache/htdocs/foo CustomLog /usr/local/apache/logs/foo.site.com_acc

Re: virtual host for subdomains

2007-11-09 Thread Pid
Kwok Ng wrote: > Hi folks, > > I notice some BLOG websites assign the subdomains to the registered users, > like > > user1.mydomain.com > user2.mydomain.com > > If I use the tomcat to do this, do I use the virtual host > configuration? If so, do I use the same docBase to point to one war > fil

Re: Virtual Host with Different IP Address

2007-10-26 Thread Hassan Schroeder
On 10/26/07, banderson <[EMAIL PROTECTED]> wrote: > > The site needs to be available to all of the internet. Then your system needs a DNS entry. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new to

Re: Virtual Host with Different IP Address

2007-10-26 Thread banderson
The site needs to be available to all of the internet. Ken Bowen wrote: > > The question is: Do you want > > sub.mydomain.com > > to be visible to the entire internet, or are you only interested in > accessing > that system from your own personal browser. In the latter case, you don't > hav

Re: Virtual Host with Different IP Address

2007-10-26 Thread Ken Bowen
The question is: Do you want sub.mydomain.com to be visible to the entire internet, or are you only interested in accessing that system from your own personal browser. In the latter case, you don't have to get involved with dealing with godaddy. As Matt suggested earlier, you only have to put

Re: Virtual Host with Different IP Address

2007-10-26 Thread Hassan Schroeder
On 10/26/07, banderson <[EMAIL PROTECTED]> wrote: > > Assuming my domain is hosted with godaddy, they should be able to take care > of this? I'm not familiar with DNS issues, and it would be nice to know > what I'm asking for %-| Who owns the netblock where this currently nameless IP resides? It

Re: Virtual Host with Different IP Address

2007-10-26 Thread banderson
Assuming my domain is hosted with godaddy, they should be able to take care of this? I'm not familiar with DNS issues, and it would be nice to know what I'm asking for %-| Thanks for the response! Hassan Schroeder-2 wrote: > > On 10/26/07, banderson <[EMAIL PROTECTED]> wrote: >> >> So this c

Re: Virtual Host with Different IP Address

2007-10-26 Thread banderson
-- > From: "banderson" <[EMAIL PROTECTED]> > To: users@tomcat.apache.org > Sent: Friday, October 26, 2007 11:24:21 AM (GMT-0600) America/Chicago > Subject: Re: Virtual Host with Different IP Address > > > So this can't be done with Tomcat? I don't hav

Re: Virtual Host with Different IP Address

2007-10-26 Thread Matthew A. Bockol
ROTECTED]> To: users@tomcat.apache.org Sent: Friday, October 26, 2007 11:24:21 AM (GMT-0600) America/Chicago Subject: Re: Virtual Host with Different IP Address So this can't be done with Tomcat? I don't have access to the DNS server, are there any other workarounds? Hassan Schroeder

Re: Virtual Host with Different IP Address

2007-10-26 Thread Hassan Schroeder
On 10/26/07, banderson <[EMAIL PROTECTED]> wrote: > > So this can't be done with Tomcat? I don't have access to the DNS server, > are there any other workarounds? If it's only for your personal use, put the name in your hosts file. Or run your own name server. The point is that *your client brow

Re: Virtual Host with Different IP Address

2007-10-26 Thread banderson
So this can't be done with Tomcat? I don't have access to the DNS server, are there any other workarounds? Hassan Schroeder-2 wrote: > > On 10/26/07, banderson <[EMAIL PROTECTED]> wrote: > >> Now: >> server1 - mydomain.com >> server2 - 123.123.123.123 >> End result: >> serve

Re: Virtual Host with Different IP Address

2007-10-26 Thread Hassan Schroeder
On 10/26/07, banderson <[EMAIL PROTECTED]> wrote: > Now: > server1 - mydomain.com > server2 - 123.123.123.123 > End result: > server1 - mydomain.com > server2 - sub.mydomain.com This is not a Tomcat issue, this is a DNS issue. Assign sub.mydomain.com to 123.123.123.123.

Re: Virtual Host and dynamic webapp reloading [SOLVED]

2007-09-27 Thread Daniel M Garland
Thanks to all for your responses and advice, from this I have now addressed the problem by using an alternative configuration. For the record heres what I did: - I ended up creating a completely different folder for my webapps. I created subdirectories for each virtual host, rather than having

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: > I have three virtual hosts that I want to have hosting a webapp on > the default path. Different apps, or the same app on each virtual host? > Each host has a few aliases for subdomains etc. So I don't really > want to

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Hassan Schroeder
On 9/26/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: > So I would've thought that Have you read this? -- Hassan Schroeder [EMAIL PROTECTED] ---

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Pid
Daniel M Garland wrote: > I've gotta say I've had a miserable time with this one. I've tried > nearly permutation of configurations in the Tomcat documentation and > nothing seems to work; either I get the default host or a white blank > screen. You're almost certainly mixing the remnants of the v

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
Hi Chris, I have three virtual hosts that I want to have hosting a webapp on the default path. Each host has a few aliases for subdomains etc. So I don't really want to have ROOT.war in CATALINA_HOME/webapps, partly because I want to keep the manager app and partly because I would have a ROOT.

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: >unpackWars="true" autoDeploy="true"> > > That docBase="." is going to give you nothing but trouble. Why can't you just do this: 1. Start with a clean install of Tomcat. 2. Modify CATALINA_HOME/conf/server.xml

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
I've gotta say I've had a miserable time with this one. I've tried nearly permutation of configurations in the Tomcat documentation and nothing seems to work; either I get the default host or a white blank screen. What I need is for www.mydomain.com to host mywebapp on the default path and an

RE: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Caldarale, Charles R
> From: Daniel M Garland [mailto:[EMAIL PROTECTED] > Subject: Re: Virtual Host and dynamic webapp reloading > > One other problem: docBase must point to the same directory as appBase. The result is endless confusion within Tomcat. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDE

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Pid
Daniel M Garland wrote: > My full element then: yeah... remove the context defs from server.xml and put them in META-INF/context.xml, which is a dir/file inside your webapp. this method of defining contexts is not encouraged, because you have to restart the server to reload the config, amongst

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
My full element then: autoDeploy="true"> debug="0" /> www.myvirtualhost.com subdomain.myvirtualhost.com className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" managerClassName="org.apache.catalina.cluster.session.DeltaManager"

Re: Virtual Host and dynamic webapp reloading

2007-09-25 Thread Pid
Daniel M Garland wrote: > Hello, > > I have a virtual host configured on my Tomcat 5.5.20 cluster installation. > > In my server.xml, I have > > autoDeploy="true"> What config do you have in your Context(s)? p > And yet if I copy in a new war file (I'm using ant's deploy task) I > don't see

Re: virtual host

2007-09-20 Thread Hassan Schroeder
On 9/20/07, karmariv <[EMAIL PROTECTED]> wrote: > I would like to know how I can change an address > "http://ip:8080/site1/index1.jsp"; and "http://ip:8080/site2/index2.jsp"; in > an address like "http://my_server_name.com/site1"; , > "http://my_server_name.com/site2"; The way you're using the t

Re: Virtual Host Configuration problem, Help needed!!!

2007-03-29 Thread Mark Thomas
jit.mehta wrote: > Hi! I want to configure Virtual Host on my Tomcat 5 standalone server but I'm > unable to run it. http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html HTH, Mark - To start a new topic, e-mail: u

Re: Virtual Host hiding JkMount directives?

2006-11-16 Thread Chris Mayes
Well, it's turned out that the log messages were misleading. I wiped out my old Apache config and re-assembled it piece by piece. I haven't re-added everything, but mod_jk now functions properly. Thanks, -Chris Chris Mayes wrote: Sadly, no. The mapping isn't functional when it's in the Vi

Re: Virtual Host hiding JkMount directives?

2006-11-16 Thread Chris Mayes
Sadly, no. The mapping isn't functional when it's in the VirtualHost. It works outside of the VH definition, but that's obviously not where I want it :-) I'll try to provide more details when I get home. Thanks, -Chris Rainer Jung wrote: Hi, I tried to reproduce. It looks like the mappin

Re: Virtual Host hiding JkMount directives?

2006-11-16 Thread Rainer Jung
Hi, I tried to reproduce. It looks like the mapping actually works, but the logger is not correctly initialized for the virtual server. Could you please confirm, that the mappings you enter to the virtual servers work, and the problem is only the misleading log lines? Regards, Rainer Chris May

Re: virtual host getRealPath

2006-11-05 Thread Peter Warren
Chris, The application is an image gallery. I want to be able to drop images into directories anywhere underneath the "gallery" webapp directory and have the images automatically displayed as thumbnails in a table. Users can click on a thumbnail for the full-size image. I have an index.

Re: virtual host getRealPath

2006-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, > After poking around a little more, it seems that the call > > > application.getRealPath(request.getServletPath()) > provides the proper local file path for me. Any reason not to use that? You still have to add the request's URI to the

  1   2   >