lost admin login

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
dmgd
Forum Members
Forum Members
Posts: 115
Joined: Tue Jun 06, 2006 1:10 pm

lost admin login

Post 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
Mark
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: lost admin login

Post by Nullig »

Can you post a copy of your .htaccess file?

Nullig
dmgd
Forum Members
Forum Members
Posts: 115
Joined: Tue Jun 06, 2006 1:10 pm

Re: lost admin login

Post 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]
Mark
Pierre M.

Re: lost admin login

Post by Pierre M. »

dmgd wrote: now www.myhost.com/admin does not work but www.myhost.com/admin/index.php does work
Lucky you : you get extra security if the bad guy is too lazy to type /index.php ;-)

Pierre M.
Post Reply

Return to “CMSMS Core”