Htaccess File

krittiwakorn/Jknowledge/master/.htaccess

REQUEST_FILENAME, REQUEST_URI
RewriteEngine On
RewriteBase /Jknowledge/

RewriteCond $1 !^(index.php|css|font-awesome-4.1.0|fonts|images|js|robots.txt)
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ index.php?/$1 [L]

RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule .* index.php/$1 [PT,L]

#กำหนดขนาดการอัพโหลดไฟล์
php_value memory_limit 128M
php_value upload_max_filesize 50M
php_value post_max_size 50M
Exit mobile version