Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to install mod_xsendfile on mappstack
    primarykey
    data
    text
    <p>FINAL UPDATE: Bitnami will include mod_xsendfile to the MAPP stack as of the next release planned for somewhere around April 8, 2013.</p> <hr> <p>I have tryed compiling and installing <code>mod_xsendfile</code> on my mappstack5.4.12-0. I have tryed two methods, but I have failed each time:</p> <ul> <li><p><strong>Method 1: Automatic install using apxs.</strong> Problem => When running command "apxs <strong>-cia</strong> mod_xsendfile.c", apxs is trying to install mod_xsendfile on my mac instead of installing it on the mappstack and fails because permission is denied when trying to create the .so file in that protected area.</p></li> <li><p><strong>Method 2: Compiling with apxs and manual installation in Apache.</strong> Problem => When running command "apxs <strong>-c</strong> mod_xsendfile.c" in a folder that I fully own, it produces a .slo file instead of a .so file.</p></li> </ul> <p>How can I transform this .slo file into a .so file? I couldn't find any relevant result for .slo files in google, nor anything usefull about my 2 issues.</p> <p>With a .so file, I could install <code>mod_xsendfile</code> manually in Apache using the instructions found in the following references:</p> <ul> <li><a href="https://tn123.org/mod_xsendfile/" rel="nofollow noreferrer">https://tn123.org/mod_xsendfile/</a></li> </ul> <p>I can't post more than 2 urls, but here is the relevant part for each: </p> <ul> <li>web-developpeur-php.com/blog/article/mod-xsendfile-forcer-le-telechargement-avec-apache-php</li> <li>codeutopia.net/blog/2009/03/06/sending-files-better-apache-mod_xsendfile-and-php/</li> <li>elivz.com/blog/single/mod_xsendfile/</li> </ul> <p>Apache manual for apxs: <a href="http://httpd.apache.org/docs/2.2/programs/apxs.html" rel="nofollow noreferrer">http://httpd.apache.org/docs/2.2/programs/apxs.html</a></p> <p>This is my first time using apxs and I don't know much about compiling c code</p> <p>Thanks.</p> <p>PS: I was able to install <code>mod_xsendfile</code> on the MAPPstack following instructions in stackoverflow answer <a href="https://stackoverflow.com/a/9615149/2193168">https://stackoverflow.com/a/9615149/2193168</a>, but I'm getting errors when restarting Apache.</p> <pre><code>httpd: Syntax error on line 529 of /Applications/mappstack-5.4.12-0/apache2/conf/httpd.conf: Cannot load /Applications/mappstack-5.4.12-0/apache2/modules/mod_xsendfile.so into server: dlopen(/Applications/mappstack-5.4.12-0/apache2/modules/mod_xsendfile.so, 10): Symbol not found: _ap_log_rerror Referenced from: /Applications/mappstack-5.4.12-0/apache2/modules/mod_xsendfile.so Expected in: flat namespace in /Applications/mappstack-5.4.12-0/apache2/modules/mod_xsendfile.so </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload