                RewriteEngine On
                RewriteBase /users/alge/microcms/

                RewriteCond %{REQUEST_URI} !^phpeasyvcs/(.*)$
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
		RewriteCond %{REQUEST_URI} \.(html)$
		RewriteRule ^(.*)/(.*)/(.*)/(.*).html$ index.php?section=$1&subsection=$2&subsubsection=$3&page=$4 [L,QSA]

                RewriteCond %{REQUEST_URI} !^phpeasyvcs/(.*)$
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
		RewriteCond %{REQUEST_URI} \.(html)$
		RewriteRule ^(.*)/(.*)/(.*).html$ index.php?section=$1&subsection=$2&page=$3 [L,QSA]

                RewriteCond %{REQUEST_URI} !^phpeasyvcs/(.*)$
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
		RewriteCond %{REQUEST_URI} \.(html)$
		RewriteRule ^(.*)/(.*).html$ index.php?section=$1&page=$2 [L,QSA]

                RewriteCond %{REQUEST_URI} !^phpeasyvcs/(.*)$
		RewriteCond %{REQUEST_URI} !\.(html)$
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
		RewriteRule ^(.*)/(.*)/(.*)/(.*)$ index.php?section=$1&subsection=$2&subsubsection=$3&file=$4 [L,QSA]

                RewriteCond %{REQUEST_URI} !^phpeasyvcs/(.*)$
		RewriteCond %{REQUEST_URI} !\.(html)$
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
		RewriteRule ^(.*)/(.*)/(.*)/$ index.php?section=$1&subsection=$2&subsubsection=$3 [L,QSA]

                RewriteCond %{REQUEST_URI} !^phpeasyvcs/(.*)$
		RewriteCond %{REQUEST_URI} !\.(html)$
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
		RewriteRule ^(.*)/(.*)/(.*)$ index.php?section=$1&subsection=$2&file=$3 [L,QSA]

                RewriteCond %{REQUEST_URI} !^phpeasyvcs/(.*)$
		RewriteCond %{REQUEST_URI} !\.(html)$
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
		RewriteRule ^(.*)/(.*)/$ index.php?section=$1&subsection=$2 [L,QSA]

                RewriteCond %{REQUEST_URI} !^phpeasyvcs/(.*)$
		RewriteCond %{REQUEST_URI} !\.(html)$
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
		RewriteRule ^(.*)/$ index.php?section=$1 [L,QSA]
#		RewriteRule ^(.*)/(.*)$ index.php?section=$1&file=$2 [L,QSA]
#		RewriteRule ^(.*)$ index.php?file=$1 [L,QSA]
#		RewriteCond $1 \.(gif|jpg|png|ico|css|js|swf|wav|mp3|less|cur) 
#		RewriteRule ^(.*)$ content/$1 [L,QSA]

AddType text/x-component .htc
#AddType text/css .css
AddHandler php5-script .css
