• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Infamous no input file specified error with a twist

I have read many posts about this error, and all seem to correct the problem quickly with an htaccess file tweak. I have tried this, but I have a situation where a page in the mfind (mobile find) directory is pointing to all of the code except for the views in another folder (../find) Find works just find, but mfind returns the input file not found error. The following are snippets from the index and htaccess in the mfind directory.

Thanks in advance.


$system_path = '../find/system';
$application_folder = '../find/application';
$view_folder = 'views';

IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /mfind

RewriteCond %{SERVER_PORT} 80
RewriteCond $1 ^(payments|giftcards)
##RewriteRule ^(.*)$ https://mysite.com/mfind/$1 [R=301,L]
RewriteRule ^(.*)$ https://mysite.com/mfind?/$1 [R=301,L]

##redirect www to non-www
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
##RewriteRule ^(.*)$ http://%1/mfind/$1 [R=301,L]
RewriteRule ^(.*)$ http://%1/mfind?/$1 [R=301,L]

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.