Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
12-01-2002, 12:20 PM #1
- Join Date
- Jun 2002
- Conwy. UK
- Thanked 0 Times in 0 Posts
Here's, probably, a simple one about chmod and the settings for a cgi-bin dir
Hi Guys an Gals
I'm just about to transfer from an NT/IIS server to an Unix/Apache server. On the NT server the permissions were set by the host on the cgi-bin directory, so I have no idea what they were, and as I have fallen out with them BIG time they probably won't tell me what they were.
What do I need to chmod each of these directories to:
cgi-bin : containing a form handler that only emails me the details of the form (no reading or writing of files)
cgi-bin/mailer : this contains a subscription script along with html pages it uses for admin etc purposes
cgi-bin/mailer/data : this contains the flat databases of subscribers, password files and other files for the subscription scipt. The script should be able to read and write to these and I should also be able to download/upload via ftp.
On a slightly different (but the same) note, would a .htaccess file help me in this?
Hope the above makes sense. TIA allAn answer needs a question just as much as a question needs an answer. Deep eh!