From owner-freebsd-net@FreeBSD.ORG Sat Feb 19 13:50:55 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4AFF16A4CE for ; Sat, 19 Feb 2005 13:50:55 +0000 (GMT) Received: from web25002.mail.ukl.yahoo.com (web25002.mail.ukl.yahoo.com [217.12.10.38]) by mx1.FreeBSD.org (Postfix) with SMTP id F273E43D45 for ; Sat, 19 Feb 2005 13:50:54 +0000 (GMT) (envelope-from kidjue@yahoo.co.uk) Received: (qmail 90874 invoked by uid 60001); 19 Feb 2005 13:50:54 -0000 Message-ID: <20050219135054.90872.qmail@web25002.mail.ukl.yahoo.com> Received: from [81.199.88.22] by web25002.mail.ukl.yahoo.com via HTTP; Sat, 19 Feb 2005 13:50:53 GMT Date: Sat, 19 Feb 2005 13:50:53 +0000 (GMT) From: Emma Jukie To: Odhiambo Washington In-Reply-To: <20050211081640.GR4565@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-isp@freebsd.org cc: freebsd-net@freebsd.org Subject: Re: Possible Problem With Apache X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 13:50:56 -0000 My partial httpd.conf file: # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/usr/local/www/cgi-bin" # # Each directory to which Apache has access, can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # permissions. # AllowOverride None Options None Order allow,deny Allow from all AuthName "Restricted Files" AuthType Basic AuthUserFile /usr/local/etc/httpd/users require valid-user Also; Alias /cgi-perl/ /usr/local/www/cgi-perl/ SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader on Options ExecCGI SetHandler perl-script PerlHandler Apache::Status order deny,allow deny from all allow from 172.16.0.175 # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # # ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" # # "/usr/local/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all # End of aliases. The perl files that get executed when the GUI comes up are located under: /usr/local/www/cgi-perl/ Hope this adds a little more insight! Thanks, Emma. --- Odhiambo Washington wrote: > * Emma Jukie [20050210 16:55]: > wrote: > > What do you mean when you write, "that virtualhost > > error log?" > > Show us your apache configuration, especially the > part that deals > with that script you are using. For completeness, > show the whole > configuration. > > > -Wash > > http://www.netmeister.org/news/learn2quote.html > > -- > +======================================================================+ > |\ _,,,---,,_ | Odhiambo Washington > > Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. > www.wananchi.com > |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 > +254 20 313922 > '---''(_/--' `-'\_) | GSM: +254 722 743223 > +254 733 744121 > +======================================================================+ > You've been leading a dog's life. Stay off the > furniture. > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com