Welcome Guest, Not a member yet? Register   Sign In
Requested URL not found in server
#2

Try this one, you may need to remove the ? question mark from the index rules.

PHP Code:
<IfModule mod_rewrite.c>
 
   RewriteEngine On

    
# NOTICE: If you get a 404 play with combinations of the following commented out lines
 
   # AllowOverride All
 
   RewriteBase /

 
   # Make sure directory listing is disabled
 
   Options +FollowSymLinks -Indexes

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

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

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

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

Also you may need to try different settings in ./application/config/config.php


For this:
PHP Code:
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string.  The default setting of 'REQUEST_URI' works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'REQUEST_URI'    Uses $_SERVER['REQUEST_URI']
| 'QUERY_STRING'   Uses $_SERVER['QUERY_STRING']
| 'PATH_INFO'      Uses $_SERVER['PATH_INFO']
|
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
*/
$config['uri_protocol']    = 'REQUEST_URI'

Make sure you also set your base url.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Requested URL not found in server - by dsubhankar - 11-08-2018, 06:57 AM
RE: Requested URL not found in server - by InsiteFX - 11-08-2018, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB