
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 256M
   php_value post_max_size 128M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
   php_value upload_max_filesize 64M
   php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 256M
   php_value post_max_size 128M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
   php_value upload_max_filesize 64M
   php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit

# Redirect non-www URLs to www URLs - like http://yourdomain.com to http://www.yourdomain.com
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.sunenergies\.ro [NC]
RewriteRule (.*) https://www.sunenergies.ro/$1 [R=301,L]
Options +FollowSymLinks 
RewriteBase /

RewriteCond %{REQUEST_URI} administrare
RewriteRule administrare/(.*)$ administrare/$1 [L]

RewriteCond %{REQUEST_URI} css

RewriteRule css/(.*)$ css/$1 [L]
RewriteCond %{REQUEST_URI} js

RewriteRule js/(.*)$ js/$1 [L]
RewriteCond %{REQUEST_URI} images

RewriteRule images/(.*)$ images/$1 [L]
RewriteCond %{REQUEST_URI} userfiles
RewriteRule userfiles/(.*)$ userfiles/$1 [L] 

RewriteCond %{REQUEST_URI} includes
RewriteRule includes/(.*)$ includes/$1 [L]
RewriteCond %{REQUEST_URI} ondesign
RewriteRule ondesign/(.*)$ ondesign/$1 [L]

RewriteCond %{QUERY_STRING} ^(.*)$ 
#RewriteRule ^([^\?\/]+)/([^\?\/]+)/([^\?]+)$ $1?$2=$3&%1 [L,QSA]

RewriteRule ^([^\?\/]+)/([^\?\/]+)/([^\?]+)/([^\?]+)/([^\?]+)/([^\?]+)/([^\?]+)/([^\?]+)$ $1?$2=$3&%1 [L,QSA]
RewriteCond %{QUERY_STRING} ^(.*)$

RewriteRule ^.*$ index.php?%1 [L,QSA]

# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit
