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

#1
[eluser]Unknown[/eluser]
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.

/find
/application
...

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

.htaccess
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]
</IfModule>


Messages In This Thread
Infamous no input file specified error with a twist - by El Forum - 07-29-2014, 06:44 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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