I have implemented a new .htaccess file at http://www.ssdpsjal.tk My code is -
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ n/index.php/$1 [L]
RewriteRule ^$ /index [L]
Redirect /administrator /sadmin1
I use CodeIgniter. You can visit the website to see the error.
Moreover I have tried this .htacccess on my local server and it isn't showing any such errors there (I think)
My Document Structure is as follows
--- ssdpsjal.tk //given by host. Non-writable
--n //the folder where website is stored
--web_based_editor //something my website uses
--.htaccess file //Htaccess file that I told about
--Some other stuff not relevent to the question
EDIT
I have changed the code many times and after some changes I found the error to be occurring at RewriteRule ^(.*)$ n/index.php/$1 [L]
NOTE
The index
at RewriteRule ^$ /index [L]
is not Index.php It is actually a function(method) of my codeigniter controller
Actual URL without .htaccess is http://www.ssdpsjal.tk/n/index.php/s/index
Note the index
on the last of sentence, it is that one!