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
> Apache And Mod_include.c, Adding a Base Module After-the-Fact
bluephoenix
post Apr 23 2003, 06:56 PM
Post #1


Grub-er
**

Group: Members
Posts: 28
Joined: 17-March 03
Member No.: 561



Here's what may be an interesting situation... I've installed Apache w/o mod_include but with mod_so. Theoretically I should be able to add mod_include because of the shared objects hook, but I don't really know where to begin and couldn't find information on apache.org. I'm guessing because mod_include is considered part of the base distribution they don't expect people to try something like this.

I've done the mod_php4 before, and I'm assuming this would be a similar process... but that comes with a "nice" configure and makefile to spoil me. I'll probably need to do mod_include from scratch.

I'm thinking I'll have to compile mod_include.c into an object file (with the extention so) and be sure it's in the same directory as with all the other .so's. Then it's just a matter of playing with the httpd.conf file and adding LoadModule and AddHandler directives.

Has anyone done something like this before and have some insight/suggestions to share? Thanks.

-Tim
Go to the top of the page
 
+Quote Post
chrisw
post Apr 24 2003, 10:56 AM
Post #2


RMS is my Hero
******

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



ive done it with the mod_vhost module...

ill post the info later...as i am at work right now and dont have my apache book


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

Chris W.
Go to the top of the page
 
+Quote Post
bluephoenix
post Apr 28 2003, 10:34 AM
Post #3


Grub-er
**

Group: Members
Posts: 28
Joined: 17-March 03
Member No.: 561



Thank you biggrin.gif I'll be looking forward to it!

-Tim
Go to the top of the page
 
+Quote Post
chrisw
post Apr 28 2003, 12:41 PM
Post #4


RMS is my Hero
******

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



ok here goes....this is off the top of my head...

go to your apache source directory.....

i think the following path is correct
then cd into src/modules/standard....

then

type the following

<path to apache webserver>/bin/apxs -c -i -a -n mod_include include

it should compile, install, etc
and update your httpd.conf file...

this is how i installed the mod_vhost_alias module by typing the following

/www/http/bin/apxs -i -c -a -n mod_vhost_alias vhost_alias

and it did its thing and updated my httpd.conf file

hope this works...ill look at my book and update this if necessary...

let me know if this works....



if not post the errors and ill take a look at it...


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

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: 24th October 2017 - 12:46 AM