Jonathan Holvey d8a73e7951 Allow URLs to be rewritten to server root using external .htaccess
For example, with the following directory structure, Bludit is
installed in its own subdirectory:

web_root
├── .htaccess
└── bludit
    ├── bl_content
    ├── bl_kernel
    │    ...
    ├── .htaccess
    ├── index.php
    └── install.php

However, it may be desired that Bludit's URLs are based from the web
root, not /bludit:

Good:	http://example.com/about
Bad: 	http://example.com/bludit/about

The config file web_root/.htaccess includes the following rule to
rewrite requests to web_root/bludit:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) bludit/$1 [NC,L,QSA]

When a page is accessed, Bludit finds that the URL /about doesn't
match the script path bludit/index.php, and assumes that the site's
root should therefore be "/".
2017-08-26 13:21:03 +10:00
2017-05-21 23:05:02 +02:00
2017-05-26 13:33:29 +02:00
2017-05-26 13:34:05 +02:00
2016-01-20 21:29:01 -03:00
2016-01-26 19:11:31 +05:30
2016-06-17 14:08:08 -03:00
2017-01-31 20:07:04 +02:00
2017-05-24 21:17:56 +02:00

Bludit

Fast, simple, extensible and flat file CMS.

Bludit is a simple web application to make your own blog or site in seconds, it's completely free and open source. Bludit uses flat-files to store the posts and pages, you don't need to install or configure a database. Bludit supports Markdown and HTML code for the content of the posts and pages.

Donate

Social networks

Join the chat at https://gitter.im/dignajar/bludit

Requirements

You just need a web server with PHP support.

  • PHP v5.3 or higher.
  • PHP mbstring module for full UTF-8 support.
  • PHP gd module for image processing.
  • PHP dom module for DOM manipulation.
  • PHP json module for JSON manipulation.
  • Supported web servers:

Installation guide

  1. Download the latest version from https://s3.amazonaws.com/bludit-s3/bludit-builds/bludit_latest.zip
  2. Extract the zip file into a directory like bludit.
  3. Upload the directory bludit to your hosting server.
  4. Done!

License

Bludit is open source software licensed under the MIT license.

Description
Languages
PHP 62.4%
JavaScript 36.3%
CSS 1.3%