You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Teter <mi...@yahoo.com> on 2002/03/01 23:13:29 UTC

Is this possible?

Hello.

I would like to be able to create something like the
following example, and I need to know if this is
feasible with Tomcat...

Assume I have the domain blah.com, and I would like to
be able to create virtual names like "mary.blah.com",
"john.blah.com", "michael.blah.com", etc.

When someone goes to mary.blah.com, I would like the
pages they see to be dynamically generated, something
like this:

----
Welcome Mary!  Based on your ranking, you can do the
following actions:
  _View Production Reports_
  _Edit Report Profiles_

----
(or when someone goes to john.blah.com)
----
Welcome John!  Based on your ranking, you can do the
following actions:
  _Create Accounts_
  _Edit Accounts_
  _Input Production Numbers_

----

I wouldn't know how to classify my experience with
Tomcat/Servlets/JSP, but if this helps tailor the
answers, I'm fairly comfortable using the Model2
paradigm with JSP/Serlets and beans to generate fairly
complicated interfaces.  However, what I'm wanting to
do now seems well beyond my current knowledge, so any
pointers would be most welcome.

Much thanks,
Michael


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Is this possible?

Posted by Michael Teter <mi...@yahoo.com>.
I'm still very new at this, so I would welcome more
detail in the explanation :)

First let me make clear what things I do have some
understanding of, to give perspective.

I have created a system on Tomcat4 (on port 8443,
although I'd prefer port 443) that has a login page. 
That login page hits a database to authenticate the
login, and if successful, it allows the user to move
around the site.  For example,
https://mydomain.com:8443/mysite/Login.jsp is the
start.  Currently the pages aren't tailored to the
user that logs in, but that's something I can handle
when I get around to it.

What I'd rather have is this:
https://joe.mydomain.com
There I would show a dynamically-generated page,
tailored somewhat to how Joe wants it (via some
template system using my database, which I can
handle).  Then on Joe's page I would have a login form
somewhere, which would allow Joe more access to his
personal pages (all of which would be
dynamically-generated as well.)

I don't know much about a lot of this, including DNS,
apache configuration, etc.  I'd be glad to learn, just
point me to the information.  I've read the apache doc
on large-scale virtual name-based hosting, but it
depended on a physical directory for each virtual (and
I think it requires me to have a DNS of my own?)

Thanks again for any information.

Michael

--- Brian Adams <bi...@satx.rr.com> wrote:
> yep you can do that.
> I would put apache web server as the front end then
> use mod_jk or mod_webapp
> as the connector to the tomcat instance.
> Are you going to have mary login?
> easy stuff, no problem.
> have fun.
> B
> 
> -----Original Message-----
> From: Michael Teter [mailto:michael_teter@yahoo.com]
> Sent: Friday, March 01, 2002 4:13 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Is this possible?
> 
> 
> Hello.
> 
> I would like to be able to create something like the
> following example, and I need to know if this is
> feasible with Tomcat...
> 
> Assume I have the domain blah.com, and I would like
> to
> be able to create virtual names like
> "mary.blah.com",
> "john.blah.com", "michael.blah.com", etc.
> 
> When someone goes to mary.blah.com, I would like the
> pages they see to be dynamically generated,
> something
> like this:
> 
> ----
> Welcome Mary!  Based on your ranking, you can do the
> following actions:
>   _View Production Reports_
>   _Edit Report Profiles_
> 
> ----
> (or when someone goes to john.blah.com)
> ----
> Welcome John!  Based on your ranking, you can do the
> following actions:
>   _Create Accounts_
>   _Edit Accounts_
>   _Input Production Numbers_
> 
> ----
> 
> I wouldn't know how to classify my experience with
> Tomcat/Servlets/JSP, but if this helps tailor the
> answers, I'm fairly comfortable using the Model2
> paradigm with JSP/Serlets and beans to generate
> fairly
> complicated interfaces.  However, what I'm wanting
> to
> do now seems well beyond my current knowledge, so
> any
> pointers would be most welcome.
> 
> Much thanks,
> Michael
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - Send FREE e-cards for every
> occasion!
> http://greetings.yahoo.com
> 
> --
> To unsubscribe:  
> <ma...@jakarta.apache.org>
> For additional commands:
> <ma...@jakarta.apache.org>
> Troubles with the list:
> <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe:  
> <ma...@jakarta.apache.org>
> For additional commands:
> <ma...@jakarta.apache.org>
> Troubles with the list:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Is this possible?

Posted by Brian Adams <bi...@satx.rr.com>.
yep you can do that.
I would put apache web server as the front end then use mod_jk or mod_webapp
as the connector to the tomcat instance.
Are you going to have mary login?
easy stuff, no problem.
have fun.
B

-----Original Message-----
From: Michael Teter [mailto:michael_teter@yahoo.com]
Sent: Friday, March 01, 2002 4:13 PM
To: tomcat-user@jakarta.apache.org
Subject: Is this possible?


Hello.

I would like to be able to create something like the
following example, and I need to know if this is
feasible with Tomcat...

Assume I have the domain blah.com, and I would like to
be able to create virtual names like "mary.blah.com",
"john.blah.com", "michael.blah.com", etc.

When someone goes to mary.blah.com, I would like the
pages they see to be dynamically generated, something
like this:

----
Welcome Mary!  Based on your ranking, you can do the
following actions:
  _View Production Reports_
  _Edit Report Profiles_

----
(or when someone goes to john.blah.com)
----
Welcome John!  Based on your ranking, you can do the
following actions:
  _Create Accounts_
  _Edit Accounts_
  _Input Production Numbers_

----

I wouldn't know how to classify my experience with
Tomcat/Servlets/JSP, but if this helps tailor the
answers, I'm fairly comfortable using the Model2
paradigm with JSP/Serlets and beans to generate fairly
complicated interfaces.  However, what I'm wanting to
do now seems well beyond my current knowledge, so any
pointers would be most welcome.

Much thanks,
Michael


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>