LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2006, 03:45 AM   #1
asgerhallas
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Rep: Reputation: 0
Two Apache Servers and Configuration


Hi,

I'm about to install a second apache-server to run php5, as described here:

(It won't let me post the URL, but it was a brief guide to setting up to servers, and refer to the second one with proxy-settings of a vhost)

Now I'm pretty new to linux, apache and all, and when the guide tells me to:

Step1:
Add --enable-module=proxy to your Apache ./configure command.

The first question comes up: How do I do that, when the server is already installed and running?

I did not install the server, and if I have to reconfigure it or something, I must know that I'm not messing the old configuration up... how do I do that?

/Asger
 
Old 03-20-2006, 05:26 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quote:
Step1:
Add --enable-module=proxy to your Apache ./configure command.
refers to the compilation of httpd (the Apache web server program). If you already have it installed,
you've already completed the compilation (or you installed a compiled version).
It is possible that your installed Apache wasn't compiled with the given option, so what you're trying to do
may not work.

My advice, try configuring your apache first. If that doesn't work, you can consider recompiling Apache, with the given option.

But let me ask you this first: why would you need 2 Apache servers? Isn't one enough for you?
I believe any Apache can run PhP5, if it has the right module/config. But then again, I'm no expert either, so
I can be mistaken.
 
Old 03-22-2006, 01:50 AM   #3
asgerhallas
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the reply. I guess I kind of got it now by recompiling, took me some time though to find the old options it was compiled with. But to answer your question: I need to run both php4 and php5, and neither of them as CGI. Hope it clears it

/Asger
 
  


Reply



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 + virtual servers yussef Linux - Software 0 01-08-2005 12:05 PM
PHP and APACHE servers.. configuration question eech55 *BSD 6 10-20-2004 02:40 PM
Dual Apache Servers BorgKiller Linux - Software 2 09-28-2004 06:43 AM
servers efficiency and configuration javierj Linux - Networking 1 08-02-2004 12:31 AM
Apache and Virtual Servers... BaerRS Linux - General 2 03-08-2002 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:03 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
Open Source Consulting | Domain Registration