httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m jamal <>
Subject Re: [users@httpd] cgi script unable to create files on server.
Date Sun, 12 Apr 2009 11:44:56 GMT
How can i configure apache server installed on my computer to allow cgi scripts to create files.

--- On Sun, 4/12/09, Doug McNutt <> wrote:

From: Doug McNutt <>
Subject: Re: [users@httpd] cgi script unable to create files on server.
Date: Sunday, April 12, 2009, 4:32 PM

At 04:16 -0700 4/12/09, m jamal wrote:
>  I am new to apache.The problem is that when i run a cgi script written in c++,all scripts
run fine except those which create a file on server computer.

My web host simply does not allow that for security reasons.  Your visitors are operating
with only "world" permission and that doesn't include write access to directories.

cgiwrap is a package that applies some security precautions and then permits a "set user id"
bit to be used in permissions to make parts of a cgi script run with the owner's permissions.
See if your server supports it.

-- -> Stocks are getting pelloreid <-

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
  "   from the digest:
For additional commands, e-mail:

View raw message