Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
I'm still working on localhost on a site; everything worked perfectly until I tried to secure the admin panel using the following guide:

http://www.couchcms.com/docs/miscellane ... panel.html

Obviously, I made a mistake by first renaming the file in config and then changing the name of index.php.
However, nothing worked at that moment. So I reverted back to the old state, commented out the relevant sections in config and removed pretty URLs for the moment.

Now the sites are visable again, but I don't get into the admin panel, which throws a 403 error (never happened before): http://localhost/project/mylogin/

Same issue if I try to go to login.php directly.

Would appreciate your help.
removed pretty URLs for the moment.
Are you sure you deleted the .htaccess file too? If not, please do so and see if that helps.

Take a look at the web server's error log to see what is being reported.

Hope it helps.
.htaccess in root is definately deleted.

Apache's error.log states the following:

Code: Select all

[Tue May 26 19:19:27.632372 2015] [autoindex:error] [pid 26403] [client 127.0.0.1:44554] AH01276: Cannot serve directory /var/www/html/project/backend/: No matching DirectoryIndex (index.php,index.html,ind$


OK, going by the error log it seems you have missed renaming back the original index.php and so now there is no index.php to serve when you access the admin panel.

Please do so and I'm sure that would solve the issue.
Correct, that was the issue.

Thanks a lot.
5 posts Page 1 of 1