Post by Heks » Tue May 24, 2011 8:00 pm

Hi,

For additional security i set up Admin folder password protection. Security work, but as I change .htaccess.txt to. htaccess I can not access the admin site!

Store returned following error: The page you requested cannot be found!

When i remove the Admin password from folder, access to Admin work and no problem.

Have any ideas how to fix it?

web Hosting i use from Arvixe.
Last edited by Heks on Sat May 28, 2011 9:04 pm, edited 1 time in total.

New member

Posts

Joined
Wed Feb 16, 2011 9:10 am

Post by Heks » Sat May 28, 2011 7:59 pm

???

New member

Posts

Joined
Wed Feb 16, 2011 9:10 am

Post by webvet » Sat May 28, 2011 9:06 pm

Have you altered .htaccess file?

A post with any code changes could help?

Genuine, Honest Opencart Support @ http://webvetservices.com


User avatar
Active Member

Posts

Joined
Thu May 14, 2009 2:04 am
Location - Shropshire, UK

Post by scanreg » Sat May 28, 2011 9:07 pm

when you did the pw protect did it overwrite htaccess or just append?

Active Member

Posts

Joined
Thu May 06, 2010 12:15 am

Post by Heks » Sat May 28, 2011 9:11 pm

i not overwrite htaccess
/admin/.htaccess
/.htaccess

i not made any changes in htaccess.

New member

Posts

Joined
Wed Feb 16, 2011 9:10 am

Post by Qphoria » Sat May 28, 2011 10:41 pm

do you have SEO keywords enabled? Are you running from a subdirectory and do you have that subdirectory in the RewriteBase area of the htaccess?

It is trying to load "admin" as an seo keyword of your catalog which usually happens when the Rewrite stuff isn't setup correctly. You should probably use a separate htaccess for the basic authentication stuff and put that into the admin folder

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Heks » Sat May 28, 2011 10:54 pm

Qphoria wrote:do you have SEO keywords enabled? Are you running from a subdirectory and do you have that subdirectory in the RewriteBase area of the htaccess?

It is trying to load "admin" as an seo keyword of your catalog which usually happens when the Rewrite stuff isn't setup correctly. You should probably use a separate htaccess for the basic authentication stuff and put that into the admin folder
My SEO are enabled (stor work fine) only i cant access Admin area.

i was set RewriteBase /mystore/ and finaly i cen access admin, but the store not work. :(

It is trying to load "admin" as an seo keyword of your catalog which usually happens when the Rewrite stuff isn't setup correctly. Can you explain how?

New member

Posts

Joined
Wed Feb 16, 2011 9:10 am

Post by tipimike » Tue Sep 13, 2011 5:09 pm

add this to your .htaccess

rewriteCond %{REQUEST_URI} !^/admin/

that will exclude your admin dir from the re-write so you can use htpasswd which i consider is a vital requirement after managing many stores using an older shop, there was several hack exploits which evolved over the years which used admin scripts to get in... with htpasswd that makes it impossible for any exploits from admin holes.

Newbie

Posts

Joined
Tue Sep 13, 2011 5:05 pm
Who is online

Users browsing this forum: No registered users and 15 guests