Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> How To Add Module To Apache Source, How to add module to Apache source
fmagoufis
post Jul 1 2003, 07:20 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 4-December 02
From: Boston
Member No.: 214



I build apache with all the necessary settings and modules that were required at the time of uild. Now the programmers want me to add in the mod_rewrite module. How can I recompile apache to add this in without losing what I built into apache before? Is this possible? Here is what I get from a httpd -l

Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_info.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_proxy.c
mod_so.c
mod_setenvif.c
mod_ssl.c
mod_php4.c
mod_perl.c
Go to the top of the page
 
+Quote Post
chrisw
post Jul 2 2003, 09:27 AM
Post #2


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



what version of apache you running


--------------------

Chris W.
Go to the top of the page
 
+Quote Post
fmagoufis
post Jul 2 2003, 10:48 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 4-December 02
From: Boston
Member No.: 214



Server version: Apache/1.3.27 (Unix)
Go to the top of the page
 
+Quote Post
chrisw
post Jul 2 2003, 11:45 AM
Post #4


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



well the re-write module is quite touchy getting it installed.
you install modules by typing the following command


you have to be in the directory where the module resides
usually the apache source directory

<path to apache>/bin/apxs -c -i -a -n rewrite mod_rewrite.c <-- you might have to switch the last two..im not sure....

you will most likely not get this module installed for some reason...
but you can try...i havent been able to get it installed properly
and have tried many times....i dont know why it wont install so
i really cant answer the question about that...but if you are
able to get it installed please let me know....


--------------------

Chris W.
Go to the top of the page
 
+Quote Post
fmagoufis
post Jul 2 2003, 01:25 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 4-December 02
From: Boston
Member No.: 214



Tried it but it yelled at me. Screw it, I can always back track and start over again.
Go to the top of the page
 
+Quote Post
chrisw
post Jul 2 2003, 02:25 PM
Post #6


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



thats what i thought....there is a file in your apache source directory that has the configure script you used to compile
apache with....

the file with have something like the following

./configure --prefix=/usr/local/apache --enable-so.....etc

not necessarilly have the following options but could....you can then just
add the info that is necessary to add the rewrite module and then you
should just be able to run that file


--------------------

Chris W.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 08:40 AM