I am using codefight cms in the development server (e.g http://www.myhost.com/dev/) , which is set up on a godaddy server.
First I couldn’t access any CMS pages. Then I searched and found out that the .htaccess needed to be changed to make it work.
I changed the following htaccess lines
RewriteBase /
RewriteRule ^admin/(.*)$ admin.php/$1 [L]
RewriteRule ^(.*)$ index.php/$1 [L]
to this. [below changed lines]
RewriteBase /dev
RewriteRule ^admin/(.*)$ admin.php?/$1 [L]
RewriteRule ^(.*)$ index.php?/$1 [L]
now, when I try to access the http://www.myhost.com/dev/admin, I get a 404 page.
Is there any way that I could be able to resolve this by making any changes to the .htaccess?
Thank you
continue reading ...