<Directory /var/www/html/ezpublish/> Options FollowSymLinks Indexes ExecCGI AllowOverride None Order deny,allow <FilesMatch "\.(php|ini|tpl|txt|info|cache|gz|sh|sql)$"> Deny from all </FilesMatch> <FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js))$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteRule !\.(gif|jpe?g|png|css|js)$ index.php </IfModule> <IfModule mod_php4.c> php_value magic_quotes_gpc 0 php_value magic_quotes_runtime 0 php_value register_globals 0 php_admin_value memory_limit 20M php_value allow_call_time_pass_reference 0 </IfModule> </Directory>