Commit fe25836 1 parent c50920d commit fe25836 Copy full SHA for fe25836
File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 22
22
I wrote this mostly for fun and because it's been a while since I dabbled in the C language.
23
23
24
24
25
+ How?
26
+ --
27
+ There are multiple ways to compile and install an apache module. My preferred method is to use ` apxs ` :
28
+ # build shared object file
29
+ apxs -c mod_fortune.c
30
+ # and install it (may require root/sudo)
31
+ apxs -i -a mod_fortune.la
32
+ This should not only move the object file into place, but add a * LoadModule* directive into your apache configuration.
33
+
34
+
25
35
Licensing
26
36
--
27
37
This software is released as open source under the MIT license:
@@ -44,3 +54,4 @@ This is an example configuration that would insert an `X-Fortune` header to ever
44
54
# set X-Fortune header for successful response, if env variable exists
45
55
Header onsuccess set X-Fortune %{FORTUNE_COOKIE}e env=FORTUNE_COOKIE
46
56
</IfModule >
57
+
You can’t perform that action at this time.
0 commit comments