Librasoft Forum :: Support sur PrestaGest
Bienvenue Invité   
 Sujet :The problem with enabling the Admin panel protection option.. 17-01-2012 11:40:14 
piya
Inscription: 09-11-2011 06:16:14
Messages: 2
Lieu

Hello

 

We have purchased your product Protect My Shop for our prestashop ecommerce 1.4.0.1 site.

Everything else with this module is fine except for two things:

1. When I enabled the Pictures Protection option, in my entire prestashop site, a question mark symbol started coming. I had to rework on all my files again because many images were not loading.

2. When I enabled the Admin panel protection  option, it asks for a username and password before accessing the admin panel. This is good thing but the problem comes when it asks for a username and password even at the front end. Many of my customers have complained that when they access the website, they see a server authentication box asking for username and password.

Thus please rectify these two errors.

For the details such as our url, admin panel passwords etc, I will mail it to you. Can't post it over here because of security reasons. Thus please mail me your email id and will send all the required details to you via email.

IP stockée
 Sujet :Re:The problem with enabling the Admin panel protection option.. 17-01-2012 12:17:45 
Yannick MOREL
Inscription: 23-08-2010 15:43:03
Messages: 24
Lieu

Hi and thanks for your purchase.

both of your problem seem to be caused by a specific server configuration.

Indeed, these twos protections are managed by a specific htaccess file, if this one is wrong placed, due to a strange specific server configuration, it could misworks like here :

- The htaccess of your admin panel is probably placed at the root of your shop, instead of your admin folder, or wrong interpreted by your server about the location, in consequence the protection apply also on the front office

- Samething for your pictures protection, and so the path to access to your pictures has changed, and/or are wrong interpreted by your server and so pictures are not well located.

Check your server configuration, particulary concerning the htaccess interpretation policy.

 

At your disposal

IP stockée
 Sujet :Re:The problem with enabling the Admin panel protection option.. 18-01-2012 15:20:27 
piya
Inscription: 09-11-2011 06:16:14
Messages: 2
Lieu

Hello

 

Thanks for your prompt reply.

I have checked the entire admin panel of prestashop but I couldn't find any .htaccess file in it. I see only one .htaccess file and that to the root directory. We have enabled friendly url's on our site. The site also has a joomla part located in the sub directory.

I have checked the .htaccess file but couldn't find any rule refering to the admin folder. Thus I am appending the entire code of our .htaccess file. Please check it. And also note that the last 2-3 lines of the file pertain to the joomla admin panel and has nothing to do with the prestashop admin panel. Please help us out.

 

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE# http://www.prestashop.com - http://www.prestashop.com/forums<IfModule mod_rewrite.c># URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^api/?(.*)$ /webservice/dispatcher.php?url=$1 [QSA,L]RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2$3.jpg [L]RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2.jpg [L]RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$1 [QSA,L]RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /supplier.php?id_supplier=$1 [QSA,L]RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /manufacturer.php?id_manufacturer=$1 [QSA,L]RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L]RewriteRule ^page-not-found$ /404.php [QSA,L]RewriteRule ^address$ /address.php [QSA,L]RewriteRule ^addresses$ /addresses.php [QSA,L]RewriteRule ^authentication$ /authentication.php [QSA,L]RewriteRule ^best-sales$ /best-sales.php [QSA,L]RewriteRule ^cart$ /cart.php [QSA,L]RewriteRule ^contact-us$ /contact-form.php [QSA,L]RewriteRule ^discount$ /discount.php [QSA,L]RewriteRule ^guest-tracking$ /guest-tracking.php [QSA,L]RewriteRule ^order-history$ /history.php [QSA,L]RewriteRule ^identity$ /identity.php [QSA,L]RewriteRule ^manufacturers$ /manufacturer.php [QSA,L]RewriteRule ^my-account$ /my-account.php [QSA,L]RewriteRule ^new-products$ /new-products.php [QSA,L]RewriteRule ^order$ /order.php [QSA,L]RewriteRule ^order-follow$ /order-follow.php [QSA,L]RewriteRule ^quick-order$ /order-opc.php [QSA,L]RewriteRule ^order-slip$ /order-slip.php [QSA,L]RewriteRule ^password-recovery$ /password.php [QSA,L]RewriteRule ^prices-drop$ /prices-drop.php [QSA,L]RewriteRule ^search$ /search.php [QSA,L]RewriteRule ^sitemap$ /sitemap.php [QSA,L]RewriteRule ^stores$ /stores.php [QSA,L]RewriteRule ^supplier$ /supplier.php [QSA,L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_URI} !administrator [NC]#RewriteCond %{REQUEST_URI} \.([^p]|p[^h]|ph[^p])[a-z]+$ [NC]#RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw|aspx))$ [NC]RewriteRule (.*) 96526online57744/$1 [L]</IfModule># Catch 404 errorsErrorDocument 404 /404.phpOptions -Indexes<FilesMatch "\.tpl$">order deny,allowdeny from all</FilesMatch>RewriteCond %{HTTP_REFERER} ^$ [OR] #ScriptRewriteCond %{HTTP_REFERER} !^http://(www.)?domain.com(/)?.*$ [NC] #ScriptRewriteCond %{REQUEST_URI} ^.*\.(js|css)$ [NC]RewriteRule ^.*$   -   [F]

IP stockée
 Sujet :Re:The problem with enabling the Admin panel protection option.. 18-01-2012 15:43:38 
Yannick MOREL
Inscription: 23-08-2010 15:43:03
Messages: 24
Lieu

Hum.. Please email us your FTP login and password.

We will have a look.

support[AT]librasoft[dot]fr

IP stockée
Page #