Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-20-2010, 03:10 PM
|
#1
|
Member
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75
Rep:
|
How to re-compiling Apache
Hi,
I have complied Apache 2.2.16 on RHEL5 and wants to know what exactly needs to be done if i have skipped enabling a module during the earlier installation. Do I have to re-compile Apache from scratch.
Actually, I missed enabling the proxy module, now I want to enable the feature.
Firstly I used apxs to add the module and it loaded the module, however none to Proxy directives like ProxyRequests appeared in any of the configuration files.
Then I edited the config.nice file and added --enable-proxy in build directory and executed the install, however, again it created the mod_proxy.so file. Again none of the directives were added.
Then i ran configure command as follow:
./configure --prefix=/usr/local/httpd2.2.16 --with-mpm=prefork --with-mpm=worker --with-included-apr --enable-ssl --enable-proxy --enable-mods-shared="most proxy"
This resulted in creation of original directory under install patch and added the proxy modules, however, none of the directives get added again.
Please help in how can i get these directives added to the configuration files.
Thanks.
|
|
|
11-20-2010, 03:27 PM
|
#2
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
What happens when you add them?
|
|
|
11-20-2010, 04:08 PM
|
#3
|
Member
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75
Original Poster
Rep:
|
well, i haven't tried it. I believe it should work. However, I was just wondering if these directives do get added when one compile Apache 2 or am i missing some thing while configuration???
|
|
|
11-20-2010, 04:36 PM
|
#4
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
No, not everything is configured for you at compile time! If you enabled and compiled the module then you just need to configure it yourself.
|
|
|
11-21-2010, 02:27 AM
|
#5
|
Member
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75
Original Poster
Rep:
|
hmmmm.. so does that means that we need to add directives manually and they don't get added automatically? I googled and found that on some servers there is a proxy.conf which is created and can be edited as per your needs.
|
|
|
11-21-2010, 08:51 AM
|
#6
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
What happens when you try it????
|
|
|
11-25-2010, 03:22 PM
|
#7
|
Member
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75
Original Poster
Rep:
|
Thanks AlucardZero, issue is resolve.. we need to add the lines manually!
|
|
|
All times are GMT -5. The time now is 12:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|