I would need such a .htaccess file, which enables me direct access to some files by extension (images), and in any other case it checks if entryPoint2.php exists, if does, execute that file, if not, executes entryPont.php. This is what I made so far:
Options +FollowSymLinks
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_URI} !(\.png|\.jpg|\.gif|\.jpeg|\.bmp|\.ico|\.flv|\.mpeg|\.mp4|\.mp3|\.swf)$
RewriteCond %{REQUEST_URI} !^/forum
RewriteCond %{REQUEST_URI} !^/assets/downloads
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{DOCUMENT_ROOT}/entryPoint2.php -f
RewriteRule ^(.*)$ entryPoint2.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ entryPoint.php [QSA]
RewriteRule ^robots\.txt$ http://www.example.com [R,NE,L]
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST} [L,R=301]
<Files .htaccess>
Order Allow,Deny
Deny from All
</Files>
images works, but I get "forbidden" error, it looks for index.php