RE: using manager with apache virtual host

2005-04-20 Thread Raghupathy,Gurumoorthy
Send me the httpd.conf 

-Original Message-
From: Amir S [mailto:[EMAIL PROTECTED] 
Sent: 20 April 2005 16:02
To: tomcat-user@jakarta.apache.org
Subject: using manager with apache virtual host


Hi,
I have a Jakarta 5.0.28 standalone and manager is working just fine.
when I try to operate manager (on Solaris 9) with Jakarta  connected to
apache 2.
the apache is redirecting the requests to the apache webapp root.
How can I use manager with apache virtual host?
 
Regards,
Amir S
 

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



RE: using manager with apache virtual host

2005-04-20 Thread Amir S
Here is the file.
 
Regards,
Amir S


-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]

Sent: Wednesday, April 20, 2005 16:33
To: 'Tomcat Users List'
Subject: RE: using manager with apache virtual host


Send me the httpd.conf 

-Original Message-
From: Amir S [mailto:[EMAIL PROTECTED] 
Sent: 20 April 2005 16:02
To: tomcat-user@jakarta.apache.org
Subject: using manager with apache virtual host


Hi,
I have a Jakarta 5.0.28 standalone and manager is working just fine.
when I try to operate manager (on Solaris 9) with Jakarta  connected to
apache 2.
the apache is redirecting the requests to the apache webapp root.
How can I use manager with apache virtual host?
 
Regards,
Amir S
 

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



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

RE: using manager with apache virtual host

2005-04-20 Thread Amir S
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See URL:http://httpd.apache.org/docs-2.0/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as
a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default'
server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with / (or drive:/ for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with /, the value of ServerRoot is prepended -- so logs/foo.log
# with ServerRoot set to /usr/local/apache2 will be interpreted by the
# server as /usr/local/apache2/logs/foo.log.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot /usr/local/apache2

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
IfModule !mpm_winnt.c
IfModule !mpm_netware.c
#LockFile logs/accept.lock
/IfModule
/IfModule

#
# ScoreBoardFile: File used to store internal server process information.
# If unspecified (the default), the scoreboard will be stored in an
# anonymous shared memory segment, and will be unavailable to third-party
# applications.
# If specified, ensure that no two invocations of Apache share the same
# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
#
IfModule !mpm_netware.c
IfModule !perchild.c
#ScoreBoardFile logs/apache_runtime_status
/IfModule
/IfModule


#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
IfModule !mpm_netware.c
PidFile logs/httpd.pid
/IfModule

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 60

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to Off to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 10

##
## Server-Pool Size Regulation (MPM specific)
## 



###
### current MPM used: 13 May 03
###

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
IfModule prefork.c
StartServers20
MinSpareServers 10
MaxSpareServers 20
#MaxClients 256
MaxClients 150
MaxRequestsPerChild  1
/IfModule

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
IfModule worker.c
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75 
ThreadsPerChild 25
MaxRequestsPerChild  1 
/IfModule



#

Listen 10.0.0.202:80

##
##  SSL Support
##
##  When we also provide SSL we have to listen to the 
##  standard HTTP