# URL Yönlendirme - public klasörüne
RewriteEngine On
RewriteBase /

# public klasörü varsa oraya yönlendir
RewriteCond %{REQUEST_URI} !^/public/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ public/$1 [L]

# Environment ayarı
SetEnv APP_ENV production

# PHP ayarları
php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 300

<Files xmlrpc.php>
Order Allow,Deny
Deny from all
</Files>


RewriteEngine On
RewriteCond %{QUERY_STRING} action=lostpassword [NC]
RewriteRule .* - [F,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
