Page 1 of 1
lost admin login
Posted: Tue Feb 05, 2008 6:35 pm
by dmgd
I know this has been answered but I can not find it. After install everything worked great. I setup the site and then started using htaccess file for SEO now
www.myhost.com/admin does not work but
www.myhost.com/admin/index.php does work
Does anyone know where this post is?
Thanks
Mark
Re: lost admin login
Posted: Tue Feb 05, 2008 7:37 pm
by Nullig
Can you post a copy of your .htaccess file?
Nullig
Re: lost admin login
Posted: Wed Feb 06, 2008 12:41 am
by dmgd
Thanks nuilig!
Code: Select all
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# Make sure you have Options FollowSymLinks
# and Allow on
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.myhost\.org [NC]
RewriteRule (.*) http://www.myhost.org/$1 [R=301,L]
#Rewrites page.shtml as index.php?page
RewriteCond %{REQUEST_FILENAME} !-f [NC]
#RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
Re: lost admin login
Posted: Fri Feb 08, 2008 6:00 pm
by Pierre M.
Lucky you : you get extra security if the bad guy is too lazy to type /index.php
Pierre M.