.htaccess files and Compact Privacy Policies

2002-08-14 Thread Mark_DiBattista

Hi,

I've been trying to set up a .htaccess file to append a P3P compact privacy
policy to the header of a JSP.

So far, I've placed the .htaccess file in my F:/Apache/htdocs directory and
I'm getting back the compact privacy policy in the header when I go to the
http://foo.mycompany.com, default index page.

However, I can't seem to figure out where to place the .htaccess file so it
works for the applications being served up by Tomcat...e.g
http://foo.mycompany.com/application/applicationsss

Any ideas or comments would be greatly appreciated.

Thanks,
Mark


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




JSP header info.

2002-08-14 Thread Mark_DiBattista

Is it possible to configure Tomcat to automatticaly append a default header
(as designated by me) information to select JSP files?


Thanks,
Mark



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Virtual Hosts Question

2002-07-10 Thread Mark_DiBattista

Hi,

I'm trying to run 2 different versions of Tomcat (3.2.1 and 4.0.3) through
1 Apache (1.3.26).  I haven't had much luck running the two modules
ApacheModuleJServ and Mod_jk together through Apache with Include
statements, actually I'm not even sure if it's possible...?


Now I'm going to try setting up a Virtual server on 8080, I'm thinking that
the main server on 80 will handle one include statement for Tomcat3.2.1 and
the Virtual server on 8080 will handle the include statement for
Tomcat4.0.3...Does anyone know if this is possible?

Thanks for any feedback or any other possible alternatives to setting up 2
Tomcat Versions on 1 Apache.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Virtual Hosts Question

2002-07-10 Thread Mark_DiBattista


I was actually trying to do this.


ServerAdmin [EMAIL PROTECTED]
DocumentRoot "F:/apache1.3.26/Apache/htdocs/manual"
ServerName lindos.mapinfo.com
ErrorLog logs/error8080.log
CustomLog logs/access8080.log common
Include "F:/tomcat4.0.3/conf/apache_mod_jk.conf"


The wanted them on different ports because the "site name" is going to be
the same for all my applications, and they're going to be running behind a
load balancing box, that will hide the ports.

What do you think about running two separate version of Apache, one for the
3.2.1 stuff and one for the 4.0.3 stuff?

Is it possible to set up two on the same machine, I've never attempted it
before.

Thanks for your help.


   
   
"Turner, John" 
   
<[EMAIL PROTECTED]   To: "'Tomcat Users List'" 
<[EMAIL PROTECTED]>   
om>  cc:   
   
 Subject: RE: Virtual Hosts Question   
   
07/10/2002 
   
10:33 AM   
   
Please respond 
   
to "Tomcat 
   
Users List"
   
   
   
   
   





You can put the mount directives for both mod_jserv and mod_jk into
apache's
VirtualHost containers...their shouldn't be any need to put them on
different ports.  Something like this:


AppJServMount /someURL ajpv12://someURL:someTomcat_3.2.1_Port/someURL



JkMount /someURL ajp13


Or is that what isn't working for you?

John Turner
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 10:27 AM
To: [EMAIL PROTECTED]
Subject: Virtual Hosts Question


Hi,

I'm trying to run 2 different versions of Tomcat (3.2.1 and 4.0.3) through
1 Apache (1.3.26).  I haven't had much luck running the two modules
ApacheModuleJServ and Mod_jk together through Apache with Include
statements, actually I'm not even sure if it's possible...?


Now I'm going to try setting up a Virtual server on 8080, I'm thinking that
the main server on 80 will handle one include statement for Tomcat3.2.1 and
the Virtual server on 8080 will handle the include statement for
Tomcat4.0.3...Does anyone know if this is possible?

Thanks for any feedback or any other possible alternatives to setting up 2
Tomcat Versions on 1 Apache.


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>






--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Virtual Hosts Question

2002-07-10 Thread Mark_DiBattista


Ahh, that looks like what I may have to do.  Thank you both for your help.

Since I've got your attention, I've just got one more question.  The reason
I'm setting up two different versions of Tomcat on my machines, wasn't by
choice.  We were actually running everything on Tomcat3.2.1 and it was
working fine.  But in order to stay current, we as a group decided to
upgrade to Tomcat4.0.3 and Apache 1.3.26.  All of our apps made the switch
no problem, except for two of them.  For some reason the JSP's would load.
The applications setup was exactly the same as what we did with 3.2.1 but
for some reason the JSP's wouldn't load with 4.0.3, and no errors were
being thrown in the error logs.  I tried again with another copy of 4.0.3
and tried with 4.0.1 and still the same results.

Have you guys ever heard of such a thing?  One of the pages that didn't
load, this was all we had on the JSP


View/Edit Records
<%@ include file="include/login.jsp" %>



<% request.getRequestDispatcher("servlet/dataedit?" +
com.mapinfo.jsptags.TagBean.PARAMETER_KEY_NAME + "=" +
com.mapinfo.dataedit.DownloadOracleTableBean.PARAMETER_KEY).include(request,

response); %>




Thanks again.
Mark




   
   
"Turner, John" 
   
<[EMAIL PROTECTED]   To: "'Tomcat Users List'" 
<[EMAIL PROTECTED]>   
om>  cc:   
   
 Subject: RE: Virtual Hosts Question   
   
07/10/2002 
   
10:46 AM   
   
Please respond 
   
to "Tomcat 
   
Users List"
   
   
   
   
   





As Ralph pointed out, that may be the preferred way to go.  Two instances
of
Apache is no problem, you just have to make sure the various parameters are
separate (port, logs, etc).

John Turner
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 10:43 AM
To: Tomcat Users List
Subject: RE: Virtual Hosts Question



I was actually trying to do this.


ServerAdmin [EMAIL PROTECTED]
DocumentRoot "F:/apache1.3.26/Apache/htdocs/manual"
ServerName lindos.mapinfo.com
ErrorLog logs/error8080.log
CustomLog logs/access8080.log common
Include "F:/tomcat4.0.3/conf/apache_mod_jk.conf"


The wanted them on different ports because the "site name" is going to be
the same for all my applications, and they're going to be running behind a
load balancing box, that will hide the ports.

What do you think about running two separate version of Apache, one for the
3.2.1 stuff and one for the 4.0.3 stuff?

Is it possible to set up two on the same machine, I've never attempted it
before.

Thanks for your help.




"Turner, John"

<[EMAIL PROTECTED]   To: "'Tomcat Users List'"
<[EMAIL PROTECTED]>
om>  cc:

 Subject: RE: Virtual Hosts
Question
07/10/2002

10:33 AM

Please respond

to "Tomcat

Users List"










You can put the mount directives for both mod_jserv and mod_jk into
apache's
VirtualHost containers...their shouldn't be any need to put them on
different ports.  Something like this:


AppJServMount /someURL ajpv12://someURL:someTomcat_3.2.1_Port/someURL



JkMount /someURL ajp13


Or is that what isn't working for you?

John Turner
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 10:27 AM
To: [EMAIL PROTECTED]
Subject: Virtual Hosts Question


Hi,

I'm trying to run 

JSP/HTML page recognition

2002-07-12 Thread Mark_DiBattista

Hi,

I'm running Tomcat4.0.3 and I'm trying to get it to automatically load JSP
pages when I go to an applications context.

I thought there was a setting in Tomcat4.0.3\conf\web.xml, but I can't seem
to get it to work.

Thanks for any responses.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




JSP/HTML page recognition

2002-07-12 Thread Mark_DiBattista

I forgot to mention the pages I'm trying to load are all Index.jsp pages.

THanks


- Forwarded by Mark DiBattista/MapInfo Corp on 07/12/2002 02:33 PM
-
   
  
    Mark_DiBattista@m  
  
apinfo.com  To: [EMAIL PROTECTED] 
  
cc:
  
07/12/2002 02:32Subject: JSP/HTML page recognition 
  
PM 
  
Please respond to  
  
"Tomcat Users  
  
List"  
  
   
  
   
  




Hi,

I'm running Tomcat4.0.3 and I'm trying to get it to automatically load JSP
pages when I go to an applications context.

I thought there was a setting in Tomcat4.0.3\conf\web.xml, but I can't seem
to get it to work.

Thanks for any responses.



--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




.htaccess files

2002-08-12 Thread Mark_DiBattista

Hi,

I'm trying to configure a .htaccess file to set a compact privacy policy
for our web server, IE 6 doesn't like 3rd Party cookies too much.

The body of my .htaccess file looks like this.

header append P3P 'CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM
NAV INT DEM PRE"'


I've placed the file in several directories in Apache and Tomcat and it
hasn't picked it up yet.

Has anyone ever attempted to use a .htaccess file in such away?


Thank you very much for any input.
Mark


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tomcat/Apache Q

2001-05-07 Thread Mark_DiBattista

Right now, I am running a web app. with a Tomcat 3.2.1 and Apache 1.3.12
configuration.

I want to track all errors that are produced in the Apache error.log

Does anyone out there know of a way to use the Apache error.log to track
use and set it up as a simple reporting tool?

One that will send an email if or when there is an error.

I know the error log itself can't do this, but is there something that can?

Thanks in advance for any feedback.

~~
Mark