aboutsummaryrefslogtreecommitdiff
path: root/articles/2011-10-01_lighttpd_konfiguration_fuer_symphony.md
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-08 00:12:39 +0200
committerAdrian Kummerlaender2014-08-08 00:12:39 +0200
commit8d7f2c536f3c48d17b1de244fe6713f4d4499fd5 (patch)
treedb8c86dd314f27a48abc95796b47fb29d2a57c1d /articles/2011-10-01_lighttpd_konfiguration_fuer_symphony.md
parenta1e7f4f8e85f90be206d3b5ea0b8560446acdb32 (diff)
downloadblog_content-8d7f2c536f3c48d17b1de244fe6713f4d4499fd5.tar
blog_content-8d7f2c536f3c48d17b1de244fe6713f4d4499fd5.tar.gz
blog_content-8d7f2c536f3c48d17b1de244fe6713f4d4499fd5.tar.bz2
blog_content-8d7f2c536f3c48d17b1de244fe6713f4d4499fd5.tar.lz
blog_content-8d7f2c536f3c48d17b1de244fe6713f4d4499fd5.tar.xz
blog_content-8d7f2c536f3c48d17b1de244fe6713f4d4499fd5.tar.zst
blog_content-8d7f2c536f3c48d17b1de244fe6713f4d4499fd5.zip
Imported another batch of articles from my blog
* this should be the last one, as the remaining articles are not really worth preserving ** at least that is my current assessment * updated contact page with actual content instead of filler text
Diffstat (limited to 'articles/2011-10-01_lighttpd_konfiguration_fuer_symphony.md')
-rw-r--r--articles/2011-10-01_lighttpd_konfiguration_fuer_symphony.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/articles/2011-10-01_lighttpd_konfiguration_fuer_symphony.md b/articles/2011-10-01_lighttpd_konfiguration_fuer_symphony.md
new file mode 100644
index 0000000..fade6af
--- /dev/null
+++ b/articles/2011-10-01_lighttpd_konfiguration_fuer_symphony.md
@@ -0,0 +1,17 @@
+# Lighttpd Konfiguration für Symphony
+
+Da ich die Neuauflage dieser Seite nicht mehr auf Wordpress, sondern auf dem [Symphony CMS](http://http://symphony-cms.com/) aufgebaut habe, aber nicht den Webserver wechseln wollte, musste ich einen Weg finden die Apache URL-Rewrites in Lighttpd nachzubilden.
+
+Von den im Netz verfügbaren [Beispielen](http://blog.ryara.net/2009/12/05/lighttpd-rewrite-rules-for-symphony-cms/) hat jedoch keines ohne Einschränkungen funktioniert. Aus diesem Grund habe ich auf Basis der oben verlinkten Konfiguration ein funktionierendes Regelwerk geschrieben:
+
+ url.rewrite-once += (
+ "^/favicon.ico$" => "$0",
+ "^/robots.txt$" => "$0",
+ "^/symphony/(assets|content|lib|template)/.*$" => "$0",
+ "^/workspace/([^?]*)" => "$0",
+ "^/symphony(\/(.*\/?))?(.*)\?(.*)$" => "/index.php?symphony-page=$1&mode=administration&$4&$5",
+ "^/symphony(\/(.*\/?))?$" => "/index.php?symphony-page=$1&mode=administration",
+ "^/([^?]*/?)(\?(.*))?$" => "/index.php?symphony-page=$1&$3"
+ )
+
+Dieses läuft mit der aktuellsten Symphony Version einwandfrei. Zu finden ist die Konfiguration übrigens mit den restlichen Quellen meines neuen Webseiten-Setups auf [Github](https://github.com/KnairdA/blog.kummerlaender.eu).