shinobu-0.2 /

Filename Size Date modified Message
admin
pages
system
themes
581 B
5.7 KB
34.3 KB
1.6 KB
564 B
4.0 KB
17.4 KB
      ________________    ____________        _______________________  ____    ___
     /   ________/   /   /   /   /    \      /  /   ____   /   ____  \/   /   /  /
    /   /_______/   /___/   /   /   /\ \    /  /   /   /  /   /___/  /   /   /  /
   /_______    /    ___    /   /   /  \ \  /  /   /   /  /   ____   /   /   /  /
  ________/   /   /   /   /   /   /    \ \/  /   /___/  /   /___/  /   /___/  /
 /___________/___/   /___/___/___/      \___/__________/__________/__________/   Version 0.2.3

Visit http://61924.nl/projects/shinobu.html for more information.

# Installation

 1. Rename sample.config.php to config.php in ./system/core.
 2. Edit the settings in config.php.
 3. Create a database.
 4. Run install.php.
 5. Have fun.

# Url rewriting

## Lighttpd

url.rewrite-once = (
    "^/admin/themes/(.*)$" => "/admin/themes/$1",
    "^/admin/js/(.*)$" => "/admin/js/$1",
    "^/admin/?$" => "/admin/index.php",
    "^/admin/(.*)$" => "/admin/index.php?q=$1",
    "^/themes/(.*)$" => "/themes/$1",
    "^/?$" => "/index.php",
    "^/([^?](.*?))$" => "/index.php?q=$1"
)

## Apache (.htaccess)

Rename "htaccess.apache" to ".htaccess" or create a new file with the following content.
Setup the correct path for the RewriteBase rule.

<IfModule mod_rewrite.c>
	RewriteEngine on
	# Path the shinobu fodler
	# RewriteBase /path/to/shinobu/

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME} !-l
	RewriteRule ^admin/(.*)$ admin/index.php?q=$1 [L]

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME} !-l
	RewriteRule ^(.*)$ index.php?q=$1 [L]
</IfModule>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.