microURL v1.0.0 - written by paal d. ekran, Fri Dec 11 16:51:49 CET 2009 requirement: - a web server (apache) - either a dedicated server or running on a separate port - php with sqlite compiled in (--with-sqlite) install: - add the following to the web-server's httpd.conf file: RewriteEngine On RewriteRule ^/(.*) /index.php?c=$1$2$3 Example virtual host configuration (httpd.config): Listen 8000 DocumentRoot /system/apache/htdocs.micro ServerName host.com ServerAlias host.com RewriteEngine On RewriteRule ^/(.*) /index.php?c=$1$2$3 ErrorLog logs/host.micro-error_log CustomLog logs/host.micro-access_log combined - edit the $host and $dbfile variables below - ensure that the file refered to in $dbfile is writable by the web-server (touch file, chown "serveruser" file) - type: http://hosturl/init to create the db. changelog: v1.0.0. - Fri Jan 22 14:57:58 CET 2010 - initial release todo: - there is no check on alias for valid characters - there is no check for the validity of the url