We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

lighttpd rewrite rules | Forum

chris
chris Aug 5 '12
Hello everybody,

has anyone an idea how the rewriterules for the oxwall-installation on an lighttpd-webserver does look like? Unfortunatley lighttpd does not support .htaccess files.


Here's the original .htaccess file:



Options +FollowSymLinks
RewriteEngine On

AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
  ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
  ForceType text/css
</FilesMatch>

RewriteCond %{REQUEST_URI} .*/http-bind
RewriteRule (.*) /http-bind [L]

RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
Michael I.
Michael I. Aug 13 '12
I am afraid Oxwall will not function properly without an .htaccess file.
Davy
Davy Mar 1 '14
Still no support for lighttpd?

Only found this while using google search.


Regards,

Davy

The Forum post is edited by Davy Mar 1 '14