cdowns writes:

> can someone plase tell me a short and sweet way to make a .cgi file
> execute in a created directory over the web?
> 
> like: http://myserver.com/new/dir/execute_me.cgi

Are you planning on using Apache?

If so, here's an idea:  In your srm.conf file, instead of using a
ScriptAlias directive, use a ScriptAliasMatch directive instead.

For example:

  ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1


And then hack together a simple CGI script that creates the directory
underneath /usr/local/apache/cgi-bin and places whatever you need
underneath this new subdirectory.  Make sure that you're thinking
about security before you implement this!

Hope this helps,

--kevin
-- 
Kevin D. Clark ([EMAIL PROTECTED])
ADVERTISEMENT:  On Sunday May 7th, I'm riding my bicycle 100 miles
in the American Diabetes Association's Tour de Cure ride.  If you're
interested in sponsoring me, please send me email.


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to