[ale] Apache question.

miguel miguelq at bellsouth.net
Tue Oct 15 23:38:09 EDT 2002


try

<DirectoryMatch "^/home/.*/public_html/cgi-bin">

good luck
Miguel

Jim Lynch wrote:

>I'm tearing my hair out.  I'm trying to enable the cgi-bin directory for
>cgi scripts for users.  I've put in the following in access.conf:
>
><DirectoryMatch ^/home/.*/public_html/cgi-bin>
>Options Indexes SymLinksIfOwnerMatch MultiViews ExecCGI Includes
>AllowOverride None
></DirectoryMatch>
>
>I have the following in http.conf:
>
>LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
>
>When I run anything out of ~/public_html/cgi-bin I get:
>
>Premature end of script headers:
>
>I put a shell script that looks like:
>
>#!/bin/sh
>touch /tmp/xyz.321
>
>In the directory, made it 755.  Yes the directory is 755 as is the
>public_html directory.
>
>After attempting to run the script, I don't see /tmp/xyz.321.
>
>So can anyone please give me a pointer as to what I'm missing?
>
>Thanks,
>Jim.
>
>---
>This message has been sent through the ALE general discussion list.
>See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
>sent to listmaster at ale dot org.
>
>



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list