[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] cobalt java package - suggested change
- Subject: [cobalt-developers] cobalt java package - suggested change
- From: David Weibel <David.Weibel@xxxxxxx>
- Date: Thu Feb 21 18:13:01 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I would like to suggest cobalt update the file
/usr/java/jakarta-tomcat/bin/cobalt_config.pl
In the beginning of this file there is a small chuck of
code to collect the sites supporting jsp/servlets.
opendir(DIR, "/home/sites");
@sites = grep { /^.+\..*\./ && -d "/home/sites/$_" } readdir(DIR);
closedir(DIR);
This code will not match a site named similiar to the below
domain.com
It requires atleast 2 '.' characters in the directory name to
match. I feel this is a bug and ended up having to change this
to support some sites.
---
Even better. Someone should integrate this sites list support into
the cobalt admin interface. That way someone could select sites they
want to make jsp/servlets available to.