aboutsummaryrefslogtreecommitdiffstats
path: root/org
diff options
context:
space:
mode:
Diffstat (limited to 'org')
-rw-r--r--org/4get-guide.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/org/4get-guide.org b/org/4get-guide.org
index 171bccd..c2144f2 100644
--- a/org/4get-guide.org
+++ b/org/4get-guide.org
@@ -37,7 +37,7 @@ If your reading this you likely already used lighttpd since there is no other
reason you would pick lighttpd out of all the other web servers rofl. Well
anyways here is a basic config for 4get to get you started.
#+begin_src
- server.modules += ("mod_rewrite", "mod_fastcgi")
+ server.modules += ("mod_rewrite", "mod_fastcgi", "mod_access")
server.name = "<whatever the fuck you want>"
server.document-root = "/usr/local/www/<whatever the fuck you want>"
server.pid-file = "/var/run/lighttpd.pid"
@@ -49,6 +49,9 @@ anyways here is a basic config for 4get to get you started.
"broken-scriptfilename" => "enable"
))
)
+ $HTTP["url"] =~ "^/data" {
+ url.access-deny = ("")
+ }
url.rewrite-once = ( "^(.*)/$" => "$1/" )
url.rewrite-if-not-file = ( "^([^?]*)(\?.*)?$" => "$1.php$2" )
#+end_src