Computing.Net > Forums > Linux > help using mods

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

help using mods

Reply to Message Icon

Name: Hcamacho
Date: November 28, 2003 at 07:56:54 Pacific
OS: Redhat 9.0
CPU/Ram: 512
Comment:

ok, here is the problem, i want to use SSI, it says on the web that i need to install and enable mod_include. first of all, where do i get it? how do i enable it, and where do i put it? second where do i get ssi(if i do) if i am correct i just have to put some commands somewhere? can u please tell me where? and thats it. i want to know where to put these commands, and basically how to start ssi working.

Thanks in advance,
Hcamacho



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: November 28, 2003 at 08:05:49 Pacific
Reply:

http://httpd.apache.org/docs/mod/mod_include.html


0

Response Number 2
Name: hcamacho
Date: November 28, 2003 at 08:12:20 Pacific
Reply:

i know about that site, i have looked, but it doesn't make alot of sense to me, thanks though for the help, would you be able to help me out a little more. anyone?


0

Response Number 3
Name: 3Dave
Date: November 28, 2003 at 08:58:18 Pacific
Reply:

You can use the apxs command to compile and
install modules, "man apxs" for more info.

Something like:
$ apxs -c mod_include.c

Then copy it to the apache libexec
directory (possibly /usr/libexec/apache/)
and edit the apache config file
(httpd.conf) although there will probably
already be an entry for mod_include
(AddModule mod_include.c). Restart apache
and you should be away....


0

Response Number 4
Name: hcamacho
Date: November 28, 2003 at 09:11:16 Pacific
Reply:

thanks dave but this is the error i get when doing it


/usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -march=i386 -mcpu=i686 -I/usr/kerberos/include -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd -c -o mod_include.lo mod_include.c && touch mod_include.slo
gcc: mod_include.c: No such file or directory
gcc: no input files
apxs:Error: Command failed with rc=65536

any help would be very usefull


0

Response Number 5
Name: 3Dave
Date: November 28, 2003 at 09:22:19 Pacific
Reply:

Did you actually download the file mod_include.c first? make sure that you are in the same directory as the file and try the command again.

I found it a couple of times via google:
http://minimal.cx/mod_include.c
or
http://www.apache.jp/viewcvs.cgi/*checkout*/apache-1.2/src/mod_include.c?rev=HEAD&content-type=text/plain


0

Related Posts

See More



Response Number 6
Name: hcamacho
Date: November 28, 2003 at 09:43:48 Pacific
Reply:

hey Cdave, i feel pretty dumb, but i see the files, they are txt, versions. i can copy and paste them if thats what u want me to do, what should i named it, and what kind of persioons does it need?


0

Response Number 7
Name: 3Dave
Date: December 1, 2003 at 01:15:59 Pacific
Reply:

Rather then viewing them in a browser, try downloading them instead:
$ wget http://minimal.cx/mod_include.c
Failing that, yeah just copy the text and put it into a file called mod_include.c

This is just a C source file (hence the .c at the end) which needs to be compiled with:
$ apxs -c mod_include.c


0

Sponsored Link
Ads by Google
Reply to Message Icon

linux 9 [newbie] redhat 9 and XP ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: help using mods

Help using grub for Redhat and Slackware www.computing.net/answers/linux/help-using-grub-for-redhat-and-slackware/12443.html

Help using PQBOOT www.computing.net/answers/linux/help-using-pqboot/24691.html

May i get help www.computing.net/answers/linux/may-i-get-help/16152.html