Welcome Guest, Not a member yet? Register   Sign In
"No input file specified." occurs when i remove index.php and admin.php in htaccess
#1

[eluser]Unknown[/eluser]
here's my htaccess


RewriteEngine On
AddType application/x-httpd-php53 .php
SetEnv TZ Asia/Manila
# If the user types just "admin".
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^admin$ admin\.php [L,QSA]
# If the user enter in any admin section, like "admin/section".
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^admin\/(.*)$ admin\.php/$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !index\.php
RewriteRule ^(.*)$ index.php/$1 [L]

its all working fine on localhost but when i migrated to a live server this happens




Theme © iAndrew 2016 - Forum software by © MyBB