projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb8291e
)
lighttpd: Move blog to / instead of /Blog.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 10 Mar 2010 19:57:56 +0000
(20:57 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 10 Mar 2010 19:57:56 +0000
(20:57 +0100)
etc/lighttpd/vhosts/stderr-nl
patch
|
blob
|
history
diff --git
a/etc/lighttpd/vhosts/stderr-nl
b/etc/lighttpd/vhosts/stderr-nl
index 9f82fefc7283e1f94a8a925c57f209a9f23cd435..f1a4ad95726631cd2cc4bc40616780f0eb428e9a 100644
(file)
--- a/
etc/lighttpd/vhosts/stderr-nl
+++ b/
etc/lighttpd/vhosts/stderr-nl
@@
-60,9
+60,9
@@
$HTTP["host"] =~ ".stderr.nl$" {
url.redirect += ("^/$" => "/Blog/")
# Category got renamed
url.redirect += ("^/Blog/personal(.*)" => "/Blog/Personal$1")
url.redirect += ("^/$" => "/Blog/")
# Category got renamed
url.redirect += ("^/Blog/personal(.*)" => "/Blog/Personal$1")
- $HTTP["url"]
=~ "^/Blog
" {
+ $HTTP["url"]
!~ "^/(Old blog|static)
" {
cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
- alias.url += ( "
/Blog
" => var.site-dir + "/applications/blosxom/blosxom.cgi" )
+ alias.url += ( "" => var.site-dir + "/applications/blosxom/blosxom.cgi" )
setenv.add-environment += (
"BLOSXOM_CONFIG_FILE" => var.site-dir + "/conf/blosxom.conf",
"BLOSXOM_DATA_BASE" => var.site-dir + "/data/blosxom",
setenv.add-environment += (
"BLOSXOM_CONFIG_FILE" => var.site-dir + "/conf/blosxom.conf",
"BLOSXOM_DATA_BASE" => var.site-dir + "/data/blosxom",