LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-04-2010, 03:20 PM   #1
Brandon.Wamboldt
Member
 
Registered: Apr 2009
Posts: 30

Rep: Reputation: 15
Compile mod_vhost_alias after Apache is compiled?


I for some odd reason did not include mod_vhost_alias in my Apache installation last time I compiled. I now need this module, and was wondering if I can compile it separately so I don't need to recompile Apache.

If this isn't possible, will I have any problems recompiling without first removing Apache which is in /opt/httpd? If I do that, then I shouldn't have to recompile PHP and my configuration files should remain untouched correct?

Thanks
 
Old 07-04-2010, 04:11 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

If you have compiled apache with DSO capability (i.e. using --enable-so), then you can use apxs to compile the missing module:
Code:
/path/to/apache/bin/apxs -i -c -a /path/to/apache-sources/modules/mappers/mod_vhost_alias.c
Regards
 
Old 07-04-2010, 04:58 PM   #3
Brandon.Wamboldt
Member
 
Registered: Apr 2009
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks, that's perfect
 
  


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
Núcleo doesn't compile (Núcleo now compiled, but Metisse doesn't compile) MTK358 Linux - Software 118 03-28-2010 07:28 AM
Apache - How to find out how apache was compiled? neocontrol Linux - Software 2 11-04-2007 04:02 AM
Compiled Apache v2.20, but it won't startup automatically Ziax Mandriva 6 12-19-2005 05:36 PM
Apache + mod_vhost_alias Terra Niux Linux - Software 0 06-23-2005 09:40 AM
Uninstalling Compiled Apache tackytwo Linux - Software 1 08-30-2003 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:53 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