Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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?

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....

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=65536any help would be very usefull

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

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?

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.cThis is just a C source file (hence the .c at the end) which needs to be compiled with:
$ apxs -c mod_include.c

![]() |
linux 9
|
[newbie] redhat 9 and XP ...
|

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