You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kevin HaleBoyes <kc...@yahoo.com> on 2002/03/13 15:55:39 UTC
mod_webapp configuration question
In my httpd.conf file I've got:
ServerName 192.168.0.147
LoadModule webapp_module modules/mod_webapp.so
WebAppConnection warpConnection warp 192.168.0.147:8008
NameVirtualHost *
<VirtualHost *>
ServerName 192.168.0.147
WebAppInfo /webapp-info
WebAppDeploy mywebapp warpConnection /
# WebAppDeploy manager warpConnection /manager/
</VirtualHost> <VirtualHost *>
ServerName 192.168.0.52
WebAppInfo /webapp-info
WebAppDeploy mywebapp warpConnection / # this is line 1
# WebAppDeploy manager warpConnection /manager/
Alias /awstats /var/www/awstats
<Directory /var/www/awstats>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Directory>
</VirtualHost>
My server.xml files is unchanged from the Tomcat 4.0.3 distribution.
My mywebapp is deployed at 192.168.0.52:8080/mywebapp/ and because of
the warp connection (labelled line 1) it is the home "page" for requests to
http://192.168.0.52/ and It works fine.
What I'm trying to configure is access to /awstats on the URL
http://192.168.0.52/awstats/awstats.pl but
currently I get an error from Tomcat
Apache Tomcat/4.0.3 - HTTP Status 404 - /awstats/awstats.pl
If I comment out line "1" in the 192.168.0.52 virtual host
and restart the httpd/tomcat4 processes, I can then access
awstats.
How can I have both awstats and mywebapp accessible in the
192.168.0.52 virtual host?
Thanks,
Kevin.
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Ports used???
Posted by Paul Caton <pa...@mama.stg.brown.edu>.
I just had some port problems with getting Tomcat up and running, so
this is in my head right now! You can see a list of assigned ports in
/etc/services. If you want to check that a port not listed there is in
use or not, use the command:
netstat -an | grep [number]
If you get no result, the port is not in use.
Paul.
On Wed, 13 Mar 2002, [ISO-8859-1] �yvind Vestavik wrote:
>
> I am running Tomcat on a unix testserver (solaris 6.2) which several
> people have access to and use for their own applications. There is no
> authority administrating the ports
> used, and I would like to scan the ports of the machine to see wich ones
> are in use. Is there a unix utility i can use for this.
> Im not planning to break in anywhere.. :-)
>
> �yvind
>
> �yvind Vestavik
> �vre M�llenberggt 44b
> 7014 Trondheim
> oyvindve@idi.ntnu.no
> 41422911
>
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
--
Paul Caton
Electronic Publications Editor
Women Writers Project
e-mail: paul@mail.stg.brown.edu
tel: (401) 863-3619
address: Box 1841, Brown University, Providence RI 02912
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Ports used???
Posted by Øyvind Vestavik <Oy...@idi.ntnu.no>.
I am running Tomcat on a unix testserver (solaris 6.2) which several
people have access to and use for their own applications. There is no
authority administrating the ports
used, and I would like to scan the ports of the machine to see wich ones
are in use. Is there a unix utility i can use for this.
Im not planning to break in anywhere.. :-)
Øyvind
Øyvind Vestavik
Øvre Møllenberggt 44b
7014 Trondheim
oyvindve@idi.ntnu.no
41422911
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>