mirror of
https://github.com/openvk/chandler.git
synced 2025-03-29 12:38:12 +03:00
Removing the public/.htaccess file.
This commit is contained in:
parent
69f39add31
commit
3ed115a9ed
7 changed files with 65 additions and 19 deletions
7
.gitattributes
vendored
7
.gitattributes
vendored
|
@ -3,12 +3,15 @@
|
|||
.gitignore text eol=lf export-ignore
|
||||
.gitkeep text eol=lf export-ignore
|
||||
|
||||
# PHP
|
||||
*.php text eol=lf
|
||||
# Markdown
|
||||
*.md text eol=lf
|
||||
|
||||
# JSON
|
||||
*.json text eol=lf
|
||||
*.lock text eol=lf
|
||||
|
||||
# PHP
|
||||
*.php text eol=lf
|
||||
|
||||
# YAML
|
||||
*.yml text eol=lf
|
||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
# Chandler
|
||||
/extensions/available/
|
||||
/extensions/enabled/
|
||||
/logs/
|
||||
/chandler.yml
|
||||
|
||||
# Composer
|
||||
|
@ -22,6 +23,3 @@
|
|||
!/tmp/cache/database/.gitkeep
|
||||
!/tmp/cache/templates/.gitkeep
|
||||
!/tmp/cache/yaml/.gitkeep
|
||||
|
||||
/logs/*
|
||||
!/logs/.gitkeep
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
# 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.
|
47
ReadMe.md
Normal file
47
ReadMe.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
# 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 ###
|
||||
|
||||
```shell
|
||||
a2enmod rewrite
|
||||
```
|
||||
|
||||
# Configuration #
|
||||
|
||||
## Web Server ##
|
||||
|
||||
### Apache ###
|
||||
|
||||
```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>
|
||||
```
|
|
@ -1,5 +0,0 @@
|
|||
RewriteEngine On
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule (.*) index.php [QSA]
|
12
src/Interfaces/Route.php
Normal file
12
src/Interfaces/Route.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace Chandler\Interfaces;
|
||||
|
||||
/**
|
||||
* @package Chandler\Interfaces
|
||||
*/
|
||||
interface Route
|
||||
{
|
||||
}
|
Loading…
Reference in a new issue