www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/10/27/18:48:22

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Sat, 27 Oct 2001 18:48:57 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: [PATCH]webmin with camp and cygwin [OFF-TOPIC]
Message-ID: <20011027184857.B14153@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <003d01c15f2e$d5b75220$651c440a AT BRAMSCHE>
Mime-Version: 1.0
In-Reply-To: <003d01c15f2e$d5b75220$651c440a@BRAMSCHE>
User-Agent: Mutt/1.3.21i

Neither webmin, camp, nor apache are applications that ship with cygwin.

Use the cygwin AT cygwin DOT com mailing list for discussions about private
packages.

cgf

On Sat, Oct 27, 2001 at 11:32:10PM +0200, Ralf Habacker wrote:
>Hi,
>
>for an intranet project in our company I have problems with iis and try to
>migrate to apache. Apache is avaliable for windows or cygwin, but graphical
>remote configuring apache was left. As I'm using webmin for other linux based
>web server, I tried to use webmin on cygwin for doing this.
>
>So I've downloaded camp 0.9 and webmin 0.88 and install it under cygwin 1.3.3.
>
>Then after installing webmin I run into problems, because the main page could
>be loaded, but if entering other pages in the server area ,for example apache,
>fails with a "500 bad header" error.
>
>Because my perl knowledge isn't good enough to understand and analyse
>this problem with webmin's miniserv (with perl 5.6.1), I tried to configure
>the camp distribution to enable apache configuring with webmin.
>
>Now it's working, except authentification. Currently it uses a default
>user 'admin' which is set in the apache VirtualHost configuration.
>
>To enable webmin with the apache server, add/patch the below mentioned files.
>Currently I have tested not very deeply, so there might be some more
>places to patch, but for me it works.
>
>Limitations:
>1. restarting/stopping/starting apache does not work, because the webmin
>   frontend depends on the apache server and doing this actions causes
>   lost connections. So you have to restart apache remote over telnet or
>   something else.
>
>Installation
>============
>1. Install camp										http://apache.dev.wapme.net/packages/
>
>2. Install webmin 								http://www.webmin.com
> 	 use the "Linux from scratch" operations system
>
>3. patch the below mentioned files.
>
>4. restart apache
>
>5. Start a browser and enter 	http://webmin/
>	 (if you have used the below mentioned servername and HOSTS entry)
>
>Note: Because my apache and webmin configuration knowledge is only
>      very basic, please don't ask me for relating configuration hints.
>      If you have questions, please look in the faq or mailing list on
>      the relates web sites.
>
>Have fun
>
>2001/10/27
>Ralf Habacker
>IT-Manager
>Germany
>
>/usr/local/apache/conf/http.conf - add text
>#------------------------------------------------------------
>
># This must be first for providing working localhost
><VirtualHost *>
>    DocumentRoot /usr/local/apache/htdocs/
>    ServerName <your workstation name>
>    ErrorLog logs/error_log
>    CustomLog logs/access_log common
>  	DirectoryIndex index.html
>		<Directory />
>		    Options FollowSymLinks
>		    AllowOverride Options
>		</Directory>
></VirtualHost>
>
><VirtualHost *>
>    ServerAdmin webmin AT localhost
>    DocumentRoot /usr/local/webmin-0.88/
>    ServerName webmin 	# or something else you want
>    ErrorLog logs/webmin-error_log
>    CustomLog logs/webmin-access_log common
>		SetEnv WEBMIN_CONFIG /etc/webmin
>		SetEnv WEBMIN_VAR 	 /var/webmin
>		SetEnv REMOTE_USER	 admin
>  	DirectoryIndex index.cgi
>	  AddHandler cgi-script cgi pl
>		<Directory />
>		    Options FollowSymLinks +ExecCGI
>		    AllowOverride Options
>		</Directory>
>
>NameVirtualHost *
>#------------------------------------------------------------
>
>
>/c/winnt/system32/drivers/etc/hosts - add text
>#------------------------------------------------------------
>webmin 127.0.0.1 or other ip adress your pc support
>#------------------------------------------------------------
>
>
>/usr/local/webmin-0.88/apache/reconfig_form.cgi - patch
>#------------------------------------------------------------
>$ diff reconfig_form.cgi.orig  reconfig_form.cgi -ubB
>--- reconfig_form.cgi.orig      Sat Oct 27 20:52:34 2001
>+++ reconfig_form.cgi   Sat Oct 27 20:52:56 2001
>@@ -31,6 +31,12 @@
>        elsif ($l->{'words'}->[1] =~ /lib([^\/\s]+)\.so/ && -r "mod_$1.pl") {
>                $inst{"mod_$1"}++;
>                }
>+       elsif ($l->{'words'}->[1] =~ /(mod_\S+)\.dll/ && -r "$1.pl") {
>+               $inst{$1}++;
>+               }
>+       elsif ($l->{'words'}->[1] =~ /lib([^\/\s]+)\.dll/ && -r "mod_$1.pl") {
>+               $inst{"mod_$1"}++;
>+               }
>        }
>
> # build list of supported modules
>
>#------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019