tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Teter <michael_te...@yahoo.com>
Subject RE: Is this possible?
Date Sun, 03 Mar 2002 10:05:30 GMT
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 <bigb@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:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> 


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

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message