Date: Sat, 19 Feb 2005 13:50:53 +0000 (GMT) From: Emma Jukie <kidjue@yahoo.co.uk> To: Odhiambo Washington <wash@wananchi.com> Cc: freebsd-net@freebsd.org Subject: Re: Possible Problem With Apache Message-ID: <20050219135054.90872.qmail@web25002.mail.ukl.yahoo.com> In-Reply-To: <20050211081640.GR4565@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. # <Directory "/usr/local/www/cgi-perl"> AllowOverride None Options None Order allow,deny Allow from all AuthName "Restricted Files" AuthType Basic AuthUserFile /usr/local/etc/httpd/users require valid-user </Directory> Also; Alias /cgi-perl/ /usr/local/www/cgi-perl/ <Location /cgi-perl> SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader on Options ExecCGI </Location> <Location /perl-status> SetHandler perl-script PerlHandler Apache::Status order deny,allow deny from all allow from 172.16.0.175 </Location> # # 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. # <Directory "/usr/local/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> </IfModule> # 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 <wash@wananchi.com> wrote: > * Emma Jukie <kidjue@yahoo.co.uk> [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 > <wash@wananchi.com> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050219135054.90872.qmail>