Lose admin login with index.php 301 redirect

ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Sat, 2006-10-07 22:50

Hi there, I recently added some code to my htaccess file to issue a 301 redirect from index.php to my root domain, in other words: mysite.com/index.php becomes just mysite.com/. The code is working fine, but prevents me from logging into the admin panel, as after I log in it just redirects me to mysite.com/. When I remove the code I am able to login again. Is there any way around this?

Gallery version (2.2)
Theme: PGlightbox
PHP version (e.g. 4.3.9):
Webserver (e.g. Apache ):
Database (e.g. MySql ):
Browser (e.g. Firefox 1.0):

 
robert070612

Joined: 2003-08-05
Posts: 565
Posted: Mon, 2006-10-09 15:16

Exactly what did you add to the .htaccess file?

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Thu, 2006-10-19 18:22

The htaccess route just didn't work as it disabled search and admin features. This was solved another way:

http://gallery.menalto.com/node/55882