ページへ戻る

− Links

 印刷 

効果絶大! :thumb_up: の mod_xsendfile の変更点 :: XOOPS マニア

UsersWiki:nao-pon/blog/2010-05-19 の変更点

« Prev[3]  
2: 2010-05-19 (水) 12:09:38 nao-pon[4] ソース[5]
Attached file: mod_xsendfile.c
現: 2014-04-01 (火) 22:10:25 nao-pon[4] ソース[6]
mod_xsendfile.c 更新
Line 20: Line 20:
xpWiki では、積極的に gzip での出力を行っているので、mod_xsendfile 0.11 をちょこっといじって、ヘッダに "X-Sendfile-Use-CE: Yes" を出力することで、"Content-Encording" ヘッダの除去を行わないようにしてみました。 xpWiki では、積極的に gzip での出力を行っているので、mod_xsendfile 0.11 をちょこっといじって、ヘッダに "X-Sendfile-Use-CE: Yes" を出力することで、"Content-Encording" ヘッダの除去を行わないようにしてみました。
-- %%&ref(mod_xsendfile.c);%% (旧 0.11ベース) +//- %%&ref(mod_xsendfile.c);%% (旧 0.11ベース) 
-- [[mod_xsendfile 0.12:https://tn123.org/mod_xsendfile/]] をベースにしたもの +//- [[mod_xsendfile 0.12:https://tn123.org/mod_xsendfile/]] をベースにしたもの 
--- &ref(nao-pon/Vine Linux 6 (Haut Brion)/mod_xsendfile.c); +//-- %%&ref(nao-pon/Vine Linux 6 (Haut Brion)/mod_xsendfile.c);%% 
--- &ref(nao-pon/Vine Linux 6 (Haut Brion)/mod_xsendfile.c.diff); (diff)+//-- &ref(nao-pon/Vine Linux 6 (Haut Brion)/mod_xsendfile.c.diff); (diff) 
 +- GitHub版[[nmaier/mod_xsendfile:https://github.com/nmaier/mod_xsendfile]] をベースにしたもの 
 +-- &font(150%){&ref(mod_xsendfile_0.c,noinline);}; 
 +-- [[nao-pon/mod_xsendfile:https://github.com/nao-pon/mod_xsendfile/tree/use_content-encoding]]
 apxs -cia mod_xsendfile.c  apxs -cia mod_xsendfile.c
« Prev[3]