Re: Do not allow browsing the root directory to tomcat

2004-12-13 Thread inr
Hi, You can set the Directory listing to false in Web.xml file in order to avoid displaying Directory contents. Use the Param-name element to servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param

Do not allow browsing the root directory to tomcat

2004-12-12 Thread haimra
Hi All I am using tomcat 5.0.30 for a web application. Currently anyone can brows the Root directory of my application and server. For example by typing the url http://127.0.0.1/PrjectName/ Is their any way to avoid this? Making the user access the home page and then navigating and not seeing all

Re: Root directory...

2004-11-09 Thread e-Denton Subscriber
Subscriber [EMAIL PROTECTED] Sent: Sunday, November 07, 2004 7:48 PM Subject: Re: Root directory... Hi, What do you mean by this? thanks, Luc. - Original Message - From: e-Denton Subscriber [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, November 07, 2004

Re: Root directory...

2004-11-07 Thread e-Denton Subscriber
Create a context for your app with path=. That makes it the root app. - Original Message - From: Luc Vantroys [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 9:40 PM Subject: Root directory... Hi, I work in a regular directory but I'm

Re: Root directory...

2004-11-07 Thread Luc Vantroys
Hi, What do you mean by this? thanks, Luc. - Original Message - From: e-Denton Subscriber [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, November 07, 2004 7:44 PM Subject: Re: Root directory... Create a context for your app with path=. That makes it the root

Root directory...

2004-11-06 Thread Luc Vantroys
Hi, I work in a regular directory but I'm tired to have to reload the application all the time after I recompiled the source code... I don't understand how I am suppose to work with the ROOT directory, I've heard that when the classes are in the ROOT directory, they are relaoded each time you

RE: Renaming the ROOT directory ?

2004-09-20 Thread Shapira, Yoav
by deleting its directory, and define your Context to have path=. That's it. Tomcat won't create a ROOT directory. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail

Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
in the 'webapps' directory. Depending on the case it is directly copied or extracted from a war file. However when the application is deployed a 'ROOT' directory is automatically created. Its content duplicates the one in 'my_app'. When I update something in 'my_app' the copy in 'ROOT' is not synchronized

Re: Renaming the ROOT directory ?

2004-09-18 Thread Steve Job
Quoting Jean-Paul Le Fèvre [EMAIL PROTECTED]: - Is there a way to get rid of the 'ROOT' directory. - Is it possible to specify unambiguously the name of the default directory. If you are using a UNIX-like OS I have had good luck by just create symbolic links for the ROOT directory and point

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
) I declare a default context with : Context path = docBase = my_app ... The directory 'my_app' is available in the 'webapps' directory. Depending on the case it is directly copied or extracted from a war file. However when the application is deployed a 'ROOT' directory is automatically created

Re: Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
On Saturday 18 September 2004 14:13, John Villar wrote: Your path attribute should have / and not . No. According to the tomcat config doc : If you specify a context path of an empty string (), you are defining the default web application for this Host... Docbase should be (for your case, i

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
What's your tomcat version? could you post your server.xml file to see if there's something wrong? i'm using virtual hosts with default apps on tomcat 5.0.18 and used the configuration i told you, and works pretty well.. John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058

Re: Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
On Saturday 18 September 2004 16:42, John Villar wrote: What's your tomcat version? could you post your server.xml file to see if there's something wrong? i'm using virtual hosts with default apps on tomcat 5.0.18 and used the configuration i told you, and works pretty well..

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
Host name=edbg.fr debug = 0 appBase=webapps/eros unpackWARs=true autoDeploy=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=eros- suffix=.log / Context path = docBase = edbg.war debug = 0

Re: How do I run servlets on the root directory of localhost?

2004-06-16 Thread carters2
- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Monday, June 14, 2004 11:13 PM :: To: 'Tomcat Users List' :: Subject: RE: How do I run servlets on the root directory of localhost? :: :: I am not using Apache although I wish we were, my boss believes in an all

RE: How do I run servlets on the root directory of localhost?

2004-06-15 Thread Jarl Skogsholm
can correct and delete the original email. Thank you. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Monday, June 14, 2004 11:13 PM :: To: 'Tomcat Users List' :: Subject: RE: How do I run servlets on the root directory of localhost

RE: How do I run servlets on the root directory of localhost?

2004-06-15 Thread carters2
the original email. Thank you. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Monday, June 14, 2004 11:13 PM :: To: 'Tomcat Users List' :: Subject: RE: How do I run servlets on the root directory of localhost? :: :: I am

Re: How do I run servlets on the root directory of localhost?

2004-06-15 Thread Jarl Skogsholm
:: To: 'Tomcat Users List' :: Subject: RE: How do I run servlets on the root directory of localhost? :: :: I am not using Apache although I wish we were, my boss believes in an all :: windows enviroment, so this is on server 2003 with IIS, I havent set up tomcat :: with IIS yet, because

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread SH Solutions
Hi Thanks Stephen, it did. except now I have no standard out. ugh.. Sorry, what do you mean? Regards, Steffen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do I run servlets on the root directory of localhost?

2004-06-14 Thread carters2
Hi all, this is exacly what im trying to do with my servlet for webMathematica. It is located in $CATALINA_HOME/webapps/webMathematica. However, I can't find the option in any config file to make that servlet become the default for tomcat. Right now tomcat defaults to

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Monday, June 14, 2004 10:56 PM :: To: Tomcat Users List :: Subject: Re: How do I run servlets on the root directory of localhost? :: :: Hi all, this is exacly what im trying to do with my servlet

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
, please notify me immediately so that I can correct and delete the original email. Thank you. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Monday, June 14, 2004 10:56 PM :: To: Tomcat Users List :: Subject: Re: How do I run servlets on the root

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread carters2
I am not using Apache although I wish we were, my boss believes in an all windows enviroment, so this is on server 2003 with IIS, I havent set up tomcat with IIS yet, because of this problem. I will look at that file server.xml but I've been in there before (to change from port 8080 to 80) and

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
and delete the original email. Thank you. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Monday, June 14, 2004 11:13 PM :: To: 'Tomcat Users List' :: Subject: RE: How do I run servlets on the root directory of localhost? :: :: I am not using Apache

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread carters2
Users List' :: Subject: RE: How do I run servlets on the root directory of localhost? :: :: I am not using Apache although I wish we were, my boss believes in an all :: windows enviroment, so this is on server 2003 with IIS, I havent set up tomcat :: with IIS yet, because of this problem. I

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
I would suggest you look at the server.xml, I am not 100% sure but there should be a place where the ROOT directory is set-up to be the default directory that is served. Sorry I cannot be of more help. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Wendy Smoak
Seth Carter wrote: i can get to webMathematica right now by going to http://localhost/webMathematica , what I want is when I go to http://localhost it would bring up webMathematica. Copying everything to the ROOT subdirectory, which you've already noted is the default root webapp, should

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
correct and delete the original email. Thank you. :: -Original Message- :: From: Wendy Smoak [mailto:[EMAIL PROTECTED] :: Sent: Monday, June 14, 2004 11:37 PM :: To: Tomcat Users List :: Subject: RE: How do I run servlets on the root directory of localhost? :: :: Seth Carter wrote: :: i can

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Wendy Smoak
From: Schalk [mailto:[EMAIL PROTECTED] This brings up an interesting point. Is it possible to edit which is the default app? Yes, you can change it in server.xml: Context path= docBase=ROOT debug=0/ Change 'ROOT' to something else. But that was in the message you replied to, so maybe I

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
and delete the original email. Thank you. :: -Original Message- :: From: Wendy Smoak [mailto:[EMAIL PROTECTED] :: Sent: Tuesday, June 15, 2004 12:34 AM :: To: Tomcat Users List :: Subject: RE: How do I run servlets on the root directory of localhost? :: :: From: Schalk [mailto:[EMAIL

Re: How do I run servlets on the root directory of localhost?

2004-06-13 Thread Jarl Skogsholm
I don't want to go to a jsp model. This works fine on internet. It also works fine if i add a path like localhost:8080/home So if '/' is a bad servlet mapping what should it be for the root? Thanks much for your help. On Sat, 12 Jun 2004 21:34:08 -0500, QM [EMAIL PROTECTED] wrote: On Sat, Jun

RE: How do I run servlets on the root directory of localhost?

2004-06-13 Thread SH Solutions
Hi So if '/' is a bad servlet mapping what should it be for the root? Thats a problem i was suffering a long time from when porting to tomcat comming from resin. Resin allowed regular expression matching on paths, tomcat does not. Anyway, since Tomcat 5.0 (at least) it is possible to set a

Re: How do I run servlets on the root directory of localhost?

2004-06-13 Thread Jarl Skogsholm
Thanks Stephen, it did. except now I have no standard out. ugh.. Thanks everybody for your help. Jarl On Sun, 13 Jun 2004 21:09:40 +0200, SH Solutions [EMAIL PROTECTED] wrote: Hi So if '/' is a bad servlet mapping what should it be for the root? Thats a problem i was suffering a long time

How do I run servlets on the root directory of localhost?

2004-06-12 Thread Jarl Skogsholm
http://localhost:8080/ I actually got this to work, but it images, etc can't be found. Thanks for your help. Jarl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Schalk
and delete the original email. Thank you. :: -Original Message- :: From: Jarl Skogsholm [mailto:[EMAIL PROTECTED] :: Sent: Sunday, June 13, 2004 12:35 AM :: To: Tomcat Users List :: Subject: How do I run servlets on the root directory of localhost? :: :: http://localhost:8080/ :: :: I actually

RE: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Schalk
email. Thank you. :: -Original Message- :: From: Schalk [mailto:[EMAIL PROTECTED] :: Sent: Sunday, June 13, 2004 12:51 AM :: To: 'Tomcat Users List' :: Subject: RE: How do I run servlets on the root directory of localhost? :: Importance: High :: :: Is your webapp located in c:/your-Tomcat

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Jarl Skogsholm
What happens if you just enter: http://localhost:8080/ I located it in c:/your-Tomcat-install-directory/webapps/ROOT/ What happens if you just enter: http://localhost:8080/ It runs my servlet except without images, .css, .js files. -- They that can give up essential liberty to obtain a little

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Hassan Schroeder
Jarl Skogsholm wrote: What happens if you just enter: http://localhost:8080/ It runs my servlet except without images, .css, .js files. Sounds like the paths in your servlet are wrong; are they relative or absolute? What do the 404 entries in your logs say? -- Hassan Schroeder

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Jarl Skogsholm
The paths in my servlet are relative. I didn't see any 404 entries in my logs. Is that a different debug level? If I try to access an image directly it still brings up my servlet. On Sat, 12 Jun 2004 17:02:39 -0700, Hassan Schroeder [EMAIL PROTECTED] wrote: Jarl Skogsholm wrote: What happens

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Hassan Schroeder
Jarl Skogsholm wrote: The paths in my servlet are relative. I didn't see any 404 entries in my logs. Is that a different debug level? The standard Web logs from AccessLogValve -- if you haven't yet configured one, it'd probably be a good idea :-) But you can tell the effective URL of the image

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Jarl Skogsholm
Here is my log entry: 127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET / HTTP/1.1 200 3567 127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET /css/style.css HTTP/1.1 200 3567 127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET /js/functions.js HTTP/1.1 200 3567 127.0.0.1 - - [12/Jun/2004:20:39:50 -0500]

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread QM
On Sat, Jun 12, 2004 at 08:11:57PM -0400, Jarl Skogsholm wrote: : The paths in my servlet are relative. Be careful with that -- the definition of relative within a servlet is sketchy, at best. I don't remember the specifics right now, but there's a way to get a context-relative path within the

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread QM
Update to my original post: your problem likely lies in your servlet mapping: : servlet-mapping : servlet-nameHome/servlet-name : url-pattern//url-pattern : /servlet-mapping Mapping the servlet to / will pass *every* request through that servlet.

How can I Know the servlet root directory for documents and modify it?

2004-05-26 Thread Francisco José Arnau Vives
In a message I said my problem into migrate a application from windows to a linux server. I think the problem is about the root directory where the servlets try to find the files. How can I know the dafault route for my application and how can I modify it? Thanks

Re: How can I Know the servlet root directory for documents and modify it?

2004-05-26 Thread QM
On Wed, May 26, 2004 at 03:21:43PM +0200, Francisco Jos? Arnau Vives wrote: : In a message I said my problem into migrate a application from windows to a : linux server. I think the problem is about the root directory where the : servlets try to find the files. How can I know the dafault route

Re: How can I Know the servlet root directory for documents and modify it?

2004-05-26 Thread stan
In a servlet, you can use getServletContext().getRealPath(/) to get the root of the web's docBase - Original Message - From: Francisco José Arnau Vives [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 9:21 PM Subject: How can I Know the servlet root directory

RE: How can I Know the servlet root directory for documents and modify it?

2004-05-26 Thread Shapira, Yoav
Hi, Remember, getRealPath doesn't work in a packed WAR file. Yoav Shapira Millennium Research Informatics -Original Message- From: stan [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 9:43 AM To: Tomcat Users List Subject: Re: How can I Know the servlet root directory

Apache 1.3.x / Tomcat 5.0.x Process .jsp on Web Root Directory

2004-04-14 Thread Eric Noel
Ive managed to use modjk to link tomcat apache and let tomcat process all .jsp from tomcat/webapps/* but what configuration do i need if i want to let apache process *.jsp from the apache's webroot (e.g. /var/www/html). Whenever i put any jsp page on apache root directory, it doesnt process

Unable to access html/jsp lying in Tomcat Root directory

2003-11-11 Thread VISHAL SAXENA
I have created a symlink for Tomcat root directory /home/vsaxena/jakarta-tomcat-5.0.12/webapps/ROOT to DSpace (Application that I am working upon) directory containing all the JSP and required HTML. (index.html is one of these) However, as I try to access index.html from browser (accessing the URL

Re: Servlet mapping for root directory in a webapp?

2003-08-14 Thread Fredrik Jonson
Following up to myself here... On Thu, 7 Aug 2003, Fredrik Jonson wrote: I'm trying to get tomcat (from sun's jwsdp1.2) to do a default mapping. I (and a lot of other people, apparently =) have tried: servlet-mapping servlet-nameMainView/servlet-name

Re: Servlet mapping for root directory in a webapp?

2003-08-10 Thread Bill Barker
Alternatively, having a zero-length index.html file in your directory, together with a servlet-mapping should also work. Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Howdy, Today I changed it to: servlet-mapping

RE: Servlet mapping for root directory in a webapp?

2003-08-07 Thread Shapira, Yoav
Howdy, Today I changed it to: servlet-mapping servlet-nameMainView/servlet-name url-pattern/index.html/url-pattern /servlet-mapping And, as I understand it, tomcat(?) returns that servlet mapping for requests for the root catalog. Well, it is

Servlet mapping for root directory in a webapp?

2003-08-07 Thread Fredrik Jonson
it that pattern is already taken by the default servlet. It doesn't work. I have had little succes searching google, and the documentation for solutions. Is it at all possible, or does everyone just use a dummy index.html in the root directory and forwards the users to the real content serving

change root directory

2002-01-29 Thread Andreas Panagiotidis
hello, I have installed tomcat standalone, and i have it to listen to my default port 80. but I want to change my welcome page. Instead of showing index.html that comes with tomcat, I want to show another directory. My purpose is to make /cocoon that default page for my localhost:80/ Thank you

AW: change root directory

2002-01-29 Thread lars_ake_gentz
hope this helps you ... Lars. -Ursprungliche Nachricht- Von: Andreas Panagiotidis [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 29. Januar 2002 13:50 An: [EMAIL PROTECTED] Betreff: change root directory hello, I have installed tomcat standalone, and i have it to listen to my default

RE: web app in root directory

2001-08-08 Thread Larry Isaacs
PROTECTED]] Sent: Tuesday, August 07, 2001 5:17 PM To: '[EMAIL PROTECTED]' Subject: RE: web app in root directory I have my IIS pointing to TOMCAT_HOME\webapps\myapp and also set server.xml to Context path=/ docBase=webapps/myapp crossContext=true debug=0 reloadable

web app in root directory

2001-08-07 Thread Zhi Shen
Hi, I'm interested in putting my web app in the root directory so that people can get to it via http://x.com/index.html instead of http://x.com/myapp/index.html Whenever I change the server.xml file: Context path= docBase=webapps/myapp crossContext=true debug=0 reloadable=true

RE: web app in root directory

2001-08-07 Thread Larry Isaacs
in root directory Hi, I'm interested in putting my web app in the root directory so that people can get to it via http://x.com/index.html instead of http://x.com/myapp/index.html Whenever I change the server.xml file: Context path= docBase=webapps/myapp crossContext=true

RE: web app in root directory

2001-08-07 Thread Zhi Shen
I'm using IIS4.0 with Tomcat using isapi_redirect. -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 3:03 PM To: '[EMAIL PROTECTED]' Subject: RE: web app in root directory Since you are not including a port in the URL, it would appear

RE: web app in root directory

2001-08-07 Thread Larry Isaacs
a version of Tomcat 3.2.x. Cheers, Larry -Original Message- From: Zhi Shen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 3:37 PM To: '[EMAIL PROTECTED]' Subject: RE: web app in root directory I'm using IIS4.0 with Tomcat using isapi_redirect. -Original Message

RE: web app in root directory

2001-08-07 Thread Zhi Shen
PM To: '[EMAIL PROTECTED]' Subject: RE: web app in root directory I assume your IIS Home Directory is set to something other than TOMCAT_HOME\webapps\ROOT, such as the IIS default C:\Inetpub\wwwroot. Since IIS will serve static resources, a URL like http:/x.com/images/index.html will look

RE: web app in root directory

2001-08-07 Thread Zhi Shen
happens. -zhi -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 4:49 PM To: '[EMAIL PROTECTED]' Subject: RE: web app in root directory I assume your IIS Home Directory is set to something other than TOMCAT_HOME\webapps\ROOT, such as the IIS

where can i change the tomcat root directory

2001-06-28 Thread Venkatesh T
Hi where can i change the tomcat root directory value. How can i remove IOException errors for gifs/images of socket errors. For accessing one page i am getting so many errors like this. To be frank, it should not be displayed at the clients machine. looking for appreciation.. venkatesh

RE: where can i change the tomcat root directory

2001-06-28 Thread Filip Hanik
the tomcat root directory Hi where can i change the tomcat root directory value. How can i remove IOException errors for gifs/images of socket errors. For accessing one page i am getting so many errors like this. To be frank, it should not be displayed at the clients machine. looking

ROOT Directory

2001-06-04 Thread Peter Horne
I'm running tomcat in proc on IIS/Win2K - it works fine however I can only get the examples.war to work when the ROOT.war is also in the webapps directory. It hangs and I get an error in stderr about not being able to find a facade manager. This doesn't seem to make sense to me - does anyone

No root directory

2001-02-08 Thread Paolo Barolat-Romana
When I hit a servlet in my webapp, I get the following message from tomcat: No root directory specified in XML file, using "". The directory specified by is incorrect. In server.xml, I have the following: Context path="/MyApp" docBase="webapps/MyApp&qu

Changing root directory

2001-01-14 Thread kt
Hi, I'm using Tomcat by itself, and I need to change the server root directory to maybe "D:\abc" instead of the default "C:\jakarta-tomcat\". This sounds simple but I just couldn't find info how this is done anywhere. Could anyone be kind enuf to

RE: Changing root directory

2001-01-14 Thread CPC Livelink Admin
]' Subject: RE: Changing root directory Should not be a problem. just make sure that any path settings and classpath settings reflect your change. In particular Startup.bat and tomcat.bat -Original Message- From: kt [SMTP:[EMAIL PROTECTED]] Sent: Sunday, January 14, 200

Re: finding the root directory of an application (in a war-compatible way)

2001-01-04 Thread Craig R. McClanahan
Guillaume Barreau wrote: Dear tomcat users, How do I find the root directory of the application to which a servlet belongs? I know that the following works: getServletContext().getRealPath("") But the documentation on getRealPath warns me that this is not going to w

Logfile root-directory-setting

2001-01-02 Thread Christoph Fischer
Hello, I have created my own log file via setting the System.setErr with a new FileOutputStream. FileOutputStream fout = new FileOutputStream("mylog.txt", true); System.setErr(new PrintStream(fout)); Giving it only the file-name, the log-file will be created in the tmocat/bin

Re: Logfile root-directory-setting

2001-01-02 Thread Bill_Fellows/MO/americancentury
ot; [EMAIL PROTECTED] Subject: Logfile root-directory-setting Hello, I have created my own log file via setting the System.setErr with a new FileOutputStream.    FileOutputStream fout = new FileOutputStream("mylog.txt", true);    System.setErr(new PrintStream(fout)); Giving it only th

Tomcat 3.2.1 default ROOT directory?

2000-12-29 Thread David Knaack
Howdy, I am setting up a standalone tomcat 3.2.1 with virtual hosts. I have set the 'home' attribute in ContextManager to /home/webmaster, and moved the webapps directory there. The default index.html is now coming from /home/webmaster/webapps/ROOT but I don't know why its looking there. I

RE: Tomcat won't serve JSP's from my web server's root directory

2000-12-19 Thread Dave Newton
Help! I've installed Tomcat and the mod_jserv into Apache. The examples on the Tomcat side works, but it won't serve JSP pages from my Apache root directory. I solved this by adding a virtual host to my server.xml file. I don't know if this is the Right Way to do this, but nobody has told

Re: Tomcat won't serve JSP's from my web server's root directory

2000-12-19 Thread Andreas Sheriff
To: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 7:19 AM Subject: RE: Tomcat won't serve JSP's from my web server's root directory Help! I've installed Tomcat and the mod_jserv into Apache. The examples on the Tomcat side works, but it won't serve JSP pages from my Apache root directory.

RE: Tomcat won't serve JSP's from my web server's root directory

2000-12-19 Thread Dave Newton
How do you add a virtual host to the server.xml file? I added the following, which I don't know is a Right Way to do this, but for my purposes (testing JSP as a platform) it is working fine. (I put it immediately after the virtual host example.) Host name="127.0.0.1" Context path=""

Tomcat won't serve JSP's from my web server's root directory

2000-12-18 Thread Andreas Sheriff
Help! I've installed Tomcat and the mod_jserv into Apache. The examples on the Tomcat side works, but it won't serve JSP pages from my Apache root directory. Here is a brief snippet of the automatically genrated config file: #Reference to .jsp added AddType text/jsp .jsp AddHandler

.JSP files in webapps root directory not found

2000-10-26 Thread John Fisher
(I posted this question a few days ago but received no reply - It's really messing me up though, so I'm trying again) Hi- I would like to provide .jsp files in my documentroot directory. For example, setting a home page to: http://mymachine.org/index.jsp my jk_mod.conf contains the