LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-13-2005, 07:09 PM   #1
miscreant
LQ Newbie
 
Registered: Dec 2004
Location: Oh my god! Where am I?!
Distribution: Gentoo, Kubuntu
Posts: 10

Rep: Reputation: 0
Question suPhp, virtual hosts, and shared code?


OK, here's the setup I want to have:
I have virtual hosts for different sites under a user's home (public_html) that run with their userid and group.
I have a default virtual host that runs as a default apache id (myapacheid) and group.
All users with hosts are also in this group.

I then want to have a common set of scripts that I can offer to each user as pre-built applications using links to the core code in the default virtual host.

Currently I can do all that, my issue is this. When that core code is run using suPhp, it runs as the apache id (myapacheid) NOT as the user's id. Note that this is not actually the id that the server runs under, but the id of the default virtual host. Why doesn't it continue to run as the user/group specified under the virtual host it's running on? Is there any way to force that?

thanks,
miscreant

Last edited by miscreant; 07-13-2005 at 09:38 PM.
 
  


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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 07:29 AM
virtual hosts, virtual ip's? kuplo Linux - Newbie 3 11-29-2005 09:44 PM
Help with Virtual Hosts? econnections Linux - Newbie 3 07-02-2005 01:39 PM
Accessing apache shared hosts? Seventh Linux - Software 1 03-19-2005 09:46 AM
Virtual hosts Help carminejg3 Linux - Newbie 2 12-22-2004 03:47 PM

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

All times are GMT -5. The time now is 09:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration