Forum Moderators: phranque

Message Too Old, No Replies

Compiling apache webserver problem

issues getting mod so's

         

jwalcott

8:49 pm on Oct 4, 2006 (gmt 0)

10+ Year Member



Hoping I can get some help.

So I am happily compiling apache 2.0.59 on Solaris 9, with no real problems. But I am doing some testing, and find that I need to compile this particular version with mod rewrite.

So I did what documentation, and some google searching told me to do, to enable mod rewirte. No problem. But here is the thing. I can't seem to find the rewrite.so file, to load the module. So what am I doing wrong? I can't seem to find out how to configure my script, so that the modrewrite.so file is created, along with the rest of apache when I compile.

An example of a configure script would be welcome.

John Walcott

[edited by: jdMorgan at 9:08 pm (utc) on Oct. 4, 2006]
[edit reason] No sigs, please. [/edit]

jdMorgan

9:13 pm on Oct 4, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Some example config files listed here [google.com]

Jim

jwalcott

8:49 pm on Oct 5, 2006 (gmt 0)

10+ Year Member



I took a look, but I didn't see any actual config scripts in there. heh heh. though the search was useful. Perhaps I need to give you an example of my config script, and you guys can tell me if I will actually have the modules created for me, or if I need to go out and find some and add them or what.

./configure --prefix=/usr/local/apache20 --enable-so --enable-rewrite --enable-most --enable-status --enable-info --enable-ssl --with-ssl=/usr/local/ssl

So this is what I used as my configure script for apache 2.0.59 in solaris. The problem I face is that I have no rewritemodule.so file that I can load. I can't find the file, but I seem to have enabled it in the configure script. So what do I need to add to my script so that when I compile apache, the module will be created with it?

Thanks

John Walcott

nbajumpshot

10:17 pm on Oct 5, 2006 (gmt 0)

10+ Year Member




Would you run

./httpd -l

to see what's been compiled in?

I'm curious to why you think mod_rewrite wasn't compiled in or what behavior you're seeing.

nbajumpshot

10:18 pm on Oct 5, 2006 (gmt 0)

10+ Year Member




The reason I ask is because I your configure options look fine, and I just compiled Apache 2.2 last week with similar options (albeit on Red Hat Linux, but same diff...)

jwalcott

3:25 pm on Oct 6, 2006 (gmt 0)

10+ Year Member



The reason I don't think modrewrite was not compiled in, is because I do not see the .so file that would accompany the mod. I just can't find it. So unless the mod file is somewhere else, or there is something about apache I don't yet know, which is entirely possible, I am at a loss.

John Walcott

jwalcott

3:31 pm on Oct 6, 2006 (gmt 0)

10+ Year Member



I ran the ./httpd -l to see what is compiled in, and yes. I can see that mod_rewite is compiled in. So I guess that means that it is there. So I should be fine. But I still do not see the mod_rewrite.so file. So I am not sure how to load the module itself. That is my biggest problem.

John Walcott