Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 28270 invoked from network); 8 Jun 2006 19:18:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2006 19:18:40 -0000 Received: (qmail 14469 invoked by uid 500); 8 Jun 2006 19:18:29 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 14361 invoked by uid 500); 8 Jun 2006 19:18:28 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 14302 invoked by uid 99); 8 Jun 2006 19:18:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 12:18:28 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of apache-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 12:18:27 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FoQ0y-0003Jx-OK for users@httpd.apache.org; Thu, 08 Jun 2006 21:17:56 +0200 Received: from adsl-68-78-34-218.dsl.emhril.ameritech.net ([68.78.34.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jun 2006 21:17:56 +0200 Received: from reader by adsl-68-78-34-218.dsl.emhril.ameritech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jun 2006 21:17:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@httpd.apache.org From: reader@newsguy.com Date: Thu, 08 Jun 2006 14:17:46 -0500 Organization: Still searching... Lines: 47 Message-ID: <87wtbrfodh.fsf@newsguy.com> References: <87bqt4qhfs.fsf@newsguy.com> <05f801c68b12$751d6250$1f5c7580@globe.ucar.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-68-78-34-218.dsl.emhril.ameritech.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:EQGNcOuEfkbyYQ9yhM1sGA41/y8= Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Re: Serve /var/www and public_html X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "David Salisbury" writes: > Well, you'd probably have to script alias every user's directory as well as the /var/... directory. > > But, you should be able to get around that with a > > AddHandler cgi-script cgi > > in your conf file. At this point I do have that uncommented and I've gotten a little further toward my goal. I can now fire a cgi anywhere under $public_html and at /var/www/localhost/cgi-bin. But still nothing outside of /var/../cgi-bin/ will fire. The directory settings look like (some of it may be a bit overdone): Options All MultiViews Indexes FollowSymLinks Includes ExecCGI AddHandler cgi-script .cgi AllowOverride All AddHandler cgi-script .cgi is also enabled outside that directory setting. Still cgi outside of /var/../cgi-bin/ under htdocs/ will not fire but instead just display as a file. the apache error_log says: Options ExecCGI is off in this directory: /var/www/localhost/htdocs/exp/test.cgi, referer: http://reader.local.lan/exp/ But /var/www/localhost/htdocs should include any subdirectories right. In httpd.conf is says: # 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). # Adding that directory specifally (..htdocs/exp) in another `Directory' statement does make cgi work there but that shuold just happen with the above Directory statement right? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org