DeveloperSide.NET Forums
July 04, 2020, 09:31:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: apache setting or file ownership  (Read 8704 times)
0 Members and 1 Guest are viewing this topic.
Posts: 2
View Profile
« on: July 06, 2004, 04:17:39 AM »

1.    I had webserver (redhat 9.0).
at the apache setting in httpd.conf i put

user www
group www

2.    I had a perl CGI programming use to update, add or
delete content or file thru website.
But i'm using 'myaccess' as user/group file control

what happening is, when i try to do maintenance,
the file cant delete or add. But if i try to use 'www'
as user/group it is works.


which part is my mistake.
        a. httpd.conf


       b. file ownship

and how to solve it.

thanks my friends.
Master of All Subjects
Posts: 3272

View Profile WWW Email
« Reply #1 on: July 06, 2004, 07:17:09 PM »

So if it works with www/www, why not leave it there?

Also, you can 'chmod 666' and give the file write permissions.

Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Posts: 2
View Profile
« Reply #2 on: July 08, 2004, 11:58:01 AM »

This what I've done,
Please correct me If I’m wrong

my Cgi programming is in the /home/myaccess/public_html/…..

image from /www/images
and I give soft link ( ln –s /www/images to /home/myaccess/public_html/ )
and user = myaccess, and , group = www.
drwxr-xr-x myaccess www 422 Jul 5 11:12 images/

so that user myaccess able to write to the image directory
means, the system able add new image-file thru the system running on web-http

It’s works on the add new image-file.
Even it able to overwrite the image, when I add a new image-file with the same filename.

But the problem is i cant delete the image-file that i'had created


I cant implement the system in the www directory for security issues.
The administrator wont give the passwd to me since there are a lot of system running under the www username/directory.


if worse come to worse,
is there any possiblility to create a folder in the www directory like 'myaccess', and set a password for the directory.
and unhide/disallow other directory to retrieve or access.

Thanks so much to all the GURU
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!