Note that there are some explanatory texts on larger screens.

plurals
  1. POcodeigniter page can not be found issue
    text
    copied!<p>I am working on website on which under the root, i have under construction page. I have upload the files for the new site in folder newsite, which is in the root directory.</p> <p>I use .htaccess file to remove the index.php from the domain. </p> <p>If i type www.somesite.com/newsite, or <a href="http://www.somesite.com/newsite" rel="nofollow">http://www.somesite.com/newsite</a> welcome controller is displayed. So far, so good.</p> <p>I have back office administration system, and when i type: <a href="http://www.somesite.com/newsite/folderName/controllername/functionname" rel="nofollow">http://www.somesite.com/newsite/folderName/controllername/functionname</a> i get 404 error.</p> <p>folderName is the name of the folder in which controllers for the back office are placed. Anyone have any idea why i get this error for the back end only, while the front page is working?</p> <pre><code>RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] php_value post_max_size 20M php_value upload_max_filesize 20M php_value max_execution_time 6000000 </code></pre> <p>If I add index.php in the url for the back office like this <a href="http://www.somesite.com/newsite/index.php/folderName/controllername/functionname" rel="nofollow">http://www.somesite.com/newsite/index.php/folderName/controllername/functionname</a></p> <p>Then the page is displayed.</p> <p>Regards,Zoran</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload