Project

General

Profile

Converting Fork-CMS htaccess file to Lighttpd

Added by Carroarmato0 over 14 years ago

I'm trying to convert the redirect directives that fork-cms uses to something equivalent in Lighttpd to make it work.

These are the rules it uses. Can anyone with a beter understanding help me convert this?

  1. backend is an existing folder, but it should be handled as all urls
    RewriteCond %{REQUEST_URI} ^/backend/$
    RewriteRule . index.php [NC,L]
  1. handle urls
    RewriteCond %{REQUEST_URI} !^$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [NC,L]
htaccess (1.07 KB) htaccess The full htaccess file shiped with fork-cms

Replies (1)

RE: Converting Fork-CMS htaccess file to Lighttpd - Added by mlitn over 14 years ago

You could use the lighttpd errorhandler to accomplish this

    (1-1/1)