LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2006, 03:12 PM   #1
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
how can i queue directory on apache


i have a server (RHEL4) that share lots of sites in him. every site have as user and group as the same domain as the site, and every user and group have a queue as many as he buy.
now if any one uploading from is site (in one of is web page he have script in php that upload a file) to the server he is upload with the apache user and group (coz he uploading from the site), so the queue system have no meaning on this case.
how can i queue the directory? is there's any apache mod for this? meanwhile i put sgid permssions on the directory group permssions and put apache in every site's group. is there any other way?
 
Old 08-06-2006, 10:39 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
I'm sorry if I have misunderstood, but it seems that you want to be able to track and/or limit usage of the domains based on the domain. Your current problem is that all activity is just the Apache user. If you want to be able to determine which domain's scripts belong to a particular web server request, you will want to look into suexec and phpsuexec (which will require a recompile to enable).

Hope that helps.
 
Old 08-06-2006, 01:47 PM   #3
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
i dont care pepole upload from there sites files.and i cant limited there scripts.
all i want to is to limited the usage of domain in my disk space. theres no problam to limit there disk space by the linux queue system. but the problam start when they using a script to upload files.then they not using they user/group on the script. the files saved as user/group apache, becouse of this they r not limitied. they can upload as much as they want.
 
Old 08-06-2006, 01:52 PM   #4
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Original Poster
Rep: Reputation: 15
i looked at your suexec suggested program. and i must say its perfect.
tnx!!!!

Last edited by doronunu; 08-06-2006 at 02:01 PM.
 
Old 08-06-2006, 05:30 PM   #5
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
OK, now I understand--you want to enforce disk quotas and include files uploaded via a script. So suexec will work for that, too. Even though I was solving the wrong problem, I'm glad that your real problem was solved!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache directory varun_saa Mandriva 5 01-08-2006 07:13 PM
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
Apache Directory 2782d4 Linux - Software 3 10-12-2005 03:33 PM
Deleted qmail queue /var/qmail/queue tris Linux - Software 0 10-24-2003 11:52 PM
Apache directory... Z28kid Linux - Newbie 9 02-17-2003 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration