We have default configuration for apache via .htaccess for next structure: /www-root - is the main site with front controller index.php with mod_rewrite & htaccess /www-root/cms - is inner web-application(actually a separate web-site) with front controller with mod_rewrite & htaccess htaccess have the same structure https://github.com/samsoncms/cms/blob/master/www/.htaccess just redby vitalyiegorov - Php-fpm Mailing List - Russian