administration cck imagecache block translation advanced help better formats browscap imce lightbox pathauto token captcha google analytics tagadelic
translation management wysiwyg views xml sitemap
- Regular Expression ^/([0-9]+)$ = Redirection Internal ^/([0-9]+)$ /index.php?q=/node/$1
- Regular Expression .(engine|inc|info|install|module|profile|test|po|sh|.sql|theme|tpl(.php)?|xtmpl)$|^(code-style.pl|Entries.|Repository|Root|Tag|Template|all-wcprops|entries|format)$ HTTP Error = 403 Forbidden
- Full Path / = Redirection Internal ... blank ... /index.php
- Extensions php (check local file) = FastCGI (php interpreter)
- File Exists (match any file, only match files = Static Content
- Default = Redirection internal ^/(.)\?(.)$ /index.php?q=$1&$2 AND
internal ^/(.*)$ /index.php?q=$1
create database test;
GRANT ALL PRIVILEGES ON test.* TO exampleuser@localhost IDENTIFIED BY 'examplepassword';
FLUSH PRIVILEGES;
select * from mysql.user; the default config into sites/default/settings.php
chown www-data:www-data settings.php
chmod 666 settings.php
Around line 175
/ $databases = array(); /
$databases['default']['default'] = array( 'driver' => 'mysql', 'database' => 'test', 'username' => 'testuser', 'password' => 'test1234', 'host' => 'localhost', 'prefix' => 'main_', 'collation' => 'utf8_general_ci', );
Around line 200 (read the text - this is a security issue so be careful) $update_free_access = TRUE;
AFTER YOU'RE DONE settings.php will already be automatically set to 444 BUT you still need to secure the system...
Migration is as easy as copying the old Drupal 6 .tar.gz , cloning the Drupal Virtual Server, creating the database and users, AND importing the mysql .sql export (dump)
mysql -hlocalhost -uUSERNAME -pPASSWORD NEWEMPTYDATABASE < 2011-10-02-OLDDATABASE.sql
MODULES toolbar (was administrator)
block content translation database logging file image locale menu
options number path taxonomy update manager (required for easy install of new modules) (Install => Install from URL http://ftp.drupal.org...tar.gz) search
Home » Administration » Configuration » Search and metadata Enable Clean URL's
Home » Administration » Configuration » Regional and language » Languages Add Language - Bulgarian
Home » Administration » Structure » Content types Add Content Type - Story
download & install modules pathauto, token
i18n
THEORY cherokee-admin works on /etc/cherokee/cherokee.conf all virtual servers are merely lines added such as:
External redirection is like an html redirect where the new full url is republished to the browser Internal redirection invisibly changes all behavior (for the browser)
PRACTICE
kittyandbear.org final 1. Full Path / = Redirection Internal ... blank ... /john/index.php (alternatively Redirection internal ^/$ /index.html - covers the case of root trailing slash) final 2. Extensions php (check local file) = FastCGI Round Robin PHP Interpreter 3. Default = Static Content
http://www.fileformat.info/tool/regex.htm
vserver!10!rule!100!match = default vserver!20!directory_index = index.php,index.html vserver!20!document_root = /var/www vserver!20!error_writer!filename = /var/log/cherokee/kittyandbear.error vserver!20!error_writer!type = file vserver!20!logger = combined vserver!20!logger!access!filename = /var/log/cherokee/kittyandbear.log vserver!20!logger!access!type = file vserver!20!logger!utc_time = 1 vserver!20!logger!x_real_ip_enabled = 0 vserver!20!nick = kittyandbear.org vserver!20!rule!120!flcache = forbid vserver!20!rule!120!handler = redir vserver!20!rule!120!handler!rewrite!10!show = 1 vserver!20!rule!120!handler!rewrite!10!substring = /john/index.php vserver!20!rule!120!match = fullpath vserver!20!rule!120!match!fullpath!1 = / vserver!20!rule!20!encoder!gzip = allow vserver!20!rule!20!flcache = forbid vserver!20!rule!20!flcache!policy = explicitly_allowed vserver!20!rule!20!handler = fcgi vserver!20!rule!20!handler!balancer = round_robin vserver!20!rule!20!handler!balancer!source!10 = 1 vserver!20!rule!20!handler!error_handler = 1 vserver!20!rule!20!match = extensions vserver!20!rule!20!match!check_local_file = 1 vserver!20!rule!20!match!extensions = php vserver!20!rule!20!match!final = 1 vserver!20!rule!20!timeout = 30 vserver!20!rule!10!handler = file vserver!20!rule!10!match = default