BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

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:
  #1  
Old January 12th, 2004, 01:36 AM
cwbpirate cwbpirate is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: HK
Posts: 10 cwbpirate User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
running multiple daemons 4 apache2 on freebsd 5.2

Hello need some advise and help

Background:
Test project to run multiple local sites on Unix platform.
I have FreeBSD 5.2b running with apache 2. I have configured 5 virtual hosts, but due to a bug in our proxy server and environment setup the sites are not reachable. The only work around is to manually configure the proxy settings in web browser. The default is for web traffic to be redirected to the proxy automatically. All sites are reachable when proxy is manually configured. I been asked to explore a way to avoid local users from having to manually set their proxy.

So I am searching for a solution, that would allow me to run multiple hosts without using the virtual host configuration.
What I have done so far:
I initially installed apache via ports, but now I have installed via source for the second instance of Apache.
I copied the .sh and modified the file locations to match the second installation of apache.
I had to create some links to the configuration and apacectl locations under the /usr/local/etc dir.
I tried to start the second instance and the results were that
httpd (pid XXX) already running
So I have changed the logs/httpd.pid file to a different value. That apparently worked so I have both servers running. However, I am finding that I have to install a second instance of php for the second instance of apache.

Does anyone have a better way, cause this is a lot of work for several sites.

tks

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > running multiple daemons 4 apache2 on freebsd 5.2


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