I was using this .htaccess in the catalog folder:
Code: Select all
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !^(.+)\.jpg$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.JPG$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.jpeg$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.JPEG$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.png$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.PNG$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.gif$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.GIF$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.css$
RewriteCond %{REQUEST_FILENAME} !^(.+)\.js$
RewriteRule ^(.+)$ /circkel/ [NC]
I tried to change the .htaccess with the following content:
Code: Select all
<FilesMatch "\.(php|tpl|txt)$">
Order Deny,Allow
Deny from all
Allow from "my static ip"
</FilesMatch>
The files for the Make an offer feature are in the subfolder: /catalog/model/myoffer
I believe I can probably add a .htaccess file in every subfolder except the /myoffer one instead of one in the catalog folder but I was wondering if I could add a rule (and which rule) to the .htaccess file instead to prevent the error when someone try to make an offer?
Thank you