Options -FollowSymLinks -SymLinksIfOwnerMatch Options +ExecCGI AddHandler cgi-script .cgi .pl DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.php5 index.shtml index.shtm index.sht index.cgi index.pl Allow from all php_admin_flag engine on deny from all ServerName dev001.devserver.local DocumentRoot /srv/www/htdocs/dev001 ScriptAlias /cgi-bin/ /srv/www/htdocs/dev001/cgi-bin/ php_admin_value open_basedir .:/srv/www/htdocs/dev001/:/usr/share/php5:/usr/share/php5/PEAR php_admin_value file_uploads 1 php_admin_value upload_tmp_dir /tmp/ AddDefaultCharset UTF-8 Options +FollowSymLinks +SymLinksIfOwnerMatch php_admin_value include_path .:/usr/share/php5:/usr/share/php5/PEAR php_admin_value open_basedir /srv/www/htdocs/dev001:/usr/share/php5 RewriteEngine on RewriteRule ^(?!/ccds|/ccds_libary|/_sandbox)([^.]*)$ /index.php