Selectively enabling mod spdy on certain media types or folders.
65 views
Skip to first unread message
Eric Naujock
unread,
May 1, 2012, 4:04:24 PM5/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mod-spdy-discuss
After spending a good part of the day trying to get mod spdy to work
with Zend Server CE. I have come to one of two conclusions.
1. I have no idea what I'm doing.
2. There is no current way to make spdy work with Zend Server CE
running php 5.3.9.
Assuming that option #2 is correct I am wondering if there may be a
way to flag either filetypes or folders to selectively turn on and off
the mod spdy protocol.
My reasoning is such. While the speed improvement provided by mod spdy
seems to be very nice. The server that I want to run this on uses Zend
Server CE to process the PHP code. From what I can tell there is not
way to run the Zend Server PHP5 binary as a mod_fcgid or fastcgi. As
a result I am looking for a way to selectively turn on mod spdy in the
folders that contain my static elements but tell it to not process my
php code though the plugin.
Or do I have to setup 2 servers with one handling my php code and the
other handling my static content. This would be a pain since mod_spdy
likes using ssl and buying a second certificate to do such just to get
the speed boost is a bit more of a problem then I want to deal with at
the moment. Any other suggestions would be handy.
Steve Wills
unread,
May 2, 2012, 1:07:16 PM5/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mod-spdy...@googlegroups.com
You could setup the php server on a different port on the same host (perhaps even on the loopback interface) and use a proxy rule in mod_rewrite on the mod_spdy server to send all requests for the app back to the app server. This is a pretty common split web server/app server setup in my experience. This is easier if all app requests are restricted to one easily identifiable path.
Steve
Eric Naujock
unread,
May 8, 2012, 1:35:47 PM5/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mod-spdy-discuss
Thanks for the suggestion. I will have to take a further look into
this and see if it can work well. Or wait for the next version to come
out and hope that google has an official solution.