How to add mod_spdy module to my compiled code of apache

294 views
Skip to first unread message

APG

unread,
Jul 13, 2012, 1:21:01 AM7/13/12
to mod-spdy...@googlegroups.com
Hi all,
I downloaded the apache code, added some of my own changes and then compiled it.And it works very well.
Now I want to add the mod_spy module to this. can anyone please let me know how to do it?

I did tried the steps mentioned in

and it works for apache installed by package manager, but if I copy the same mod_spdy.so to my apache2 complied code, it gives me following error
API module structure `spdy_module' in file /usr/local/apache2/modules/mod_spdy.so is garbled - perhaps this is not an Apache module DSO?

Any idea what is the issue?

Thanks in advance.

Suyambulingam R M

unread,
Jul 31, 2012, 11:49:19 AM7/31/12
to mod-spdy...@googlegroups.com
Hi APG,

Am also struggling with the same problem. You found how to add mod-spdy to apache2 from compiled code?

Thanks,
Suyambu

Matthew Steele

unread,
Jul 31, 2012, 12:20:54 PM7/31/12
to mod-spdy...@googlegroups.com
What version of Apache did you compile from?  mod_spdy is currently compiled as an Apache 2.2 module, and may not work out of the box with Apache 2.4.

Suyambulingam R M

unread,
Jul 31, 2012, 1:13:51 PM7/31/12
to mod-spdy...@googlegroups.com
Hi Matthew,

I used Apache 2.4. But even in 2.2 i dont see mod-spdy in this documentation http://httpd.apache.org/docs/2.2/mod/. I shall try now in Apache2.2. Is there any documentation how we can add mod-spdy to apache compiled from source. Thanks in advance.



Thanks,
Suyambu

Matthew Steele

unread,
Jul 31, 2012, 1:23:04 PM7/31/12
to mod-spdy...@googlegroups.com
Once you have Apache built and installed, you'll need to follow the instructions here for building and installing mod_spdy from source:

Although that page is written assuming that you have installed Apache using your package manager rather than building it from source, the steps for installing mod_spdy once Apache is built and installed remain essentially the same (although you may need to adjust some of the paths, depending on how your Apache build was configured).  Note in particular the sections on that page about building and installing the patched mod_ssl that mod_spdy needs, and the instructions for installing mod_spdy "without using a package manager."

Cheers,
-Matthew

APG

unread,
Jul 31, 2012, 7:37:03 PM7/31/12
to mod-spdy...@googlegroups.com
Hi,
It seems there is some compatibility issue with latest apache, with apache2.2 I was able to compile and load mod_spdy.

Thanks,
Abhinav Gandhi 

Suyambulingam R M

unread,
Jul 31, 2012, 11:28:49 PM7/31/12
to mod-spdy...@googlegroups.com
Hi Abhinav Gandhi ,
I need your help in adding mod-spdy library to apache. Can you say the procedure where to add mod-spdy details in compiled apache.
 Thanks in advance.

Regards,
Suyambulingam.R.M

Suyambulingam R M

unread,
Aug 1, 2012, 12:15:12 AM8/1/12
to mod-spdy...@googlegroups.com
Hi Abhinav/Matthew,

I am able to add mod-spdy to compiled apache. There was some problem in my openssl, which was resolved now. Thanks for your reply.


Thanks,
Suyambulingam.R.M

APG

unread,
Aug 1, 2012, 1:45:47 AM8/1/12
to mod-spdy...@googlegroups.com
Well good to hear that :)

apache

unread,
Dec 11, 2012, 10:56:38 AM12/11/12
to mod-spdy...@googlegroups.com
Hi Suyambulingam.R.M


do u have steps or process how you did that ? I need some help 


S
Reply all
Reply to author
Forward
0 new messages