<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_URI} !^/public/ 

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

#RewriteRule ^(.*)$ public/$1 [L]
RewriteRule ^(.*)$ /public/$1 
#RewriteRule ^ index.php [L]
RewriteRule ^(/)?$ public/index.php [L] 
</IfModule>
RewriteCond %{HTTP_HOST} ^yesirabet\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.yesirabet\.com$
RewriteRule ^/?$ "http\:\/\/www\.yesrabet\.com" [R=301,L]
