473,480 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

server permissions for guestbook write

I implemented an asp script to create a guestbook in the cgi-bin directory
of my website. The script is supposed to append to a text file (it is there)
and then display it using include. When I try to run it, the form appears,
but when I click the submit button, the browser goes out to lunch forever.
Netscape says it is getting data from www.mysite.com, but nothing actually
appears. I set the permissions for the text file, the cgi-bin and the root
directory of the site to read, execute and write. Is that not enough?
Windows rights just mystify me. they are not as intuitive as Novell's that's
for sure. Anyway, thanks in advance.
Oct 5 '05 #1
2 3258
#1 NEVER assign write/execute permissions to a file or directory inside the
root. Stick the file outside of the root and assign IUSR_[machine] RW
permissions only.

#2 Without seeing any of the code you are using (in this case, the code for
writing) it's a little difficult to diagnose.

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Patricia Hartman" <ad***@hitekdesigns.com> wrote in message
news:11*************@corp.supernews.com...
I implemented an asp script to create a guestbook in the cgi-bin directory
of my website. The script is supposed to append to a text file (it is there) and then display it using include. When I try to run it, the form appears,
but when I click the submit button, the browser goes out to lunch forever.
Netscape says it is getting data from www.mysite.com, but nothing actually
appears. I set the permissions for the text file, the cgi-bin and the root
directory of the site to read, execute and write. Is that not enough?
Windows rights just mystify me. they are not as intuitive as Novell's that's for sure. Anyway, thanks in advance.

Oct 5 '05 #2

Thanks for the info about the directories. I was able to run the script
correctly when I used a commercial host (which by the way, runs it in
the cgi-bin directory under the root.) Apparently I could not get the
permissions correct on my server. I am using mappath for the text
(include) file and don't know how to tell it where on the server the
file is unless it is in the defined folders for the web service.
*** Sent via Developersdex http://www.developersdex.com ***
Oct 5 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
15950
by: Dariusz | last post by:
I am a beginner in PHP and MySQL, and am working through a book and various online tutorials on PHP and MySQL and now stuck - installed everything on "localhost" and it all works fine. My question...
1
2760
by: Brett | last post by:
We have an application where the iusr_<srvr> has write NTFS permissions to a folder under the wwwroot (i.e. wwwroot\folder) and also there is a SQL Server database where we must give the...
5
2502
by: Paul J. Landry | last post by:
HI Guys. I hope you can help me out! I'm writting a small app for my Intranet that allows me to see basic information aount user accounts. Included in that information is disk quota data...
1
6185
by: Rune Runnestø | last post by:
Hi, I have made a small program that doesn't work quite the way it should. It is a guestbook for the web, where visitors can write back their greetings. The program consists of 3 files: -...
1
2343
by: Leonid | last post by:
Hello I have VC++ .NET 2003 ATL Server project. In one of its method I need to write some information in a local txt file. This txt file and this ATL Server are on the same ‘C: \’ drive. When...
9
3001
by: Ivan Demkovitch | last post by:
Hi! I would like to know if I can save File on Server using server-side code? For example, I like to create thumbnail images and populate specific directory. Do I need specific permissions...
10
2587
by: John Salerno | last post by:
I always read about how you need to set certain file permissions (for cgi files, for example), but it's never been clear to me *how* you do this. I know you can run the line chmod 755...
5
7590
by: Krustov | last post by:
Not having anything else on - i think i'll write a php guestbook suitable for windows webhosting . I say windows webhosting because i cant be arsed with all that linux permission crap . Think...
5
25584
Thekid
by: Thekid | last post by:
Hi, I'm using xampplite and I'm trying to make a guestbook and a forms page where you can post to the guestbook with PHP & MySQL. I got the code from a website but it wasn't working so I tinkered...
0
7049
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7052
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7092
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5348
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4790
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3000
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
565
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
188
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.