chandler/ReadMe.md
2022-01-01 16:01:54 +01:00

1.2 KiB

Chandler

Chandler is PHP-based web-framework/web-portal. By itself it's pretty useless, but you can install plugins/apps.

Plugins

Plugins may provide a Web Application or be a library or hook. Web Apps are mounted to a path like this: /<id> (where id = app id), but one app can be mounted to root.

State of this repo

This product is still in development phase, we are currently writing documentation/tests and API is going to change.

Installation

Web Server

Apache

a2enmod rewrite

Configuration

Web Server

Apache

<VirtualHost 0.0.0.0:80> 
    <Directory "/absolute/path/to/chandler/public">
        <IfModule mod_rewrite.c>
            RewriteBase /
            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^.*$ index.php [L,NC,QSA]
        </IfModule>
        AllowOverride None
        DirectoryIndex index.php
        Require all granted
    </Directory>
    CustomLog "/absolute/path/to/access.log" combined
    DocumentRoot "/absolute/path/to/chandler/public"
    ErrorLog "/absolute/path/to/chandler/error.log"
    ServerAdmin email@example.com
    ServerAlias www.example.com
    ServerName example.com
</VirtualHost>