SunQuest
           Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 8th, 2001, 05:18 AM
netmaster netmaster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 1 netmaster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
multiple apache daemons

hi,
i need to run different apache daemons under different usernames eg ( apache - the default and netmaster). i read in manual that there has to be two installations for this. i am using an rpm from rh7.1. please let me know if its necessary for two installtions and if so how to do this from rpms.
regards
netmaster

Reply With Quote
  #2  
Old September 8th, 2001, 07:03 AM
bumperbox bumperbox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Tauranga, NZ
Posts: 349 bumperbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
i'm not absolutely certain
but i think you can specify an alternative config file as a parameter

then you just need 2 different config files

Reply With Quote
  #3  
Old September 8th, 2001, 03:36 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> i need to run different apache daemons under different usernames

Why different daemons? Why not enabling suEXEC if you are worrying about people messing with other files.

Start here -> http://httpd.apache.org/docs/suexec.html
Then here -> http://forums.devshed.com/showthrea...6742&forumid=15
And here -> http://forums.devshed.com/showthrea...8485&forumid=15

Reply With Quote
  #4  
Old September 10th, 2001, 10:10 PM
IceMan IceMan is offline
Roving Icicle
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Netizen
Posts: 56 IceMan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to IceMan Send a message via AIM to IceMan Send a message via Yahoo to IceMan
I'm not sure the Apache RPM supports this, not all do, but try adding the suffix --prefix=/path/to/install/location at the end of the command line.

In general, however, I can't stress how BAD the Apache RPM is. From my experience, it completely destroys the standard directory structure of Apache. In addition, you can't specify the standard configuration options that you can while compiling manually with make.

If you can, download the tarball (.tar.gz or .tgz) and install that instead of the rpm. I know for a fact that
Code:
./configure --prefix=/path/to
works.
__________________
Is it just me or is it cold in here?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > multiple apache daemons


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway