in my opinion the problem is related with the # Handle Front Controller rules, in fact if I try to reach http://www.mysite.com/securimage/securimage_show.php I get a 403 error , and this is normal because securimage_show.php is not index.php.
So, my question is this: How I can add an exception for the securimage folder in my htaccess?
[edit]
I’m pretty sure that an .htaccess with those rules prevent the access to any php file located in a directory that is not index.php , so I need to set an exception not only for the secureimage folder but for the entire folder where I installed phplist. Any Idea?
[/edit]
@Franc3sc0 You could try removing that block from the htaccess file to see whether that has any effect. Otherwise, are you sure that there are not any other htaccess files or whether the master apache config file has any restrictions?
I’m wondering if this <FilesMatch "(index.php|dl.php|ut.php|lt.php|download.php|connector.php)$"> is the part that causes the 403 error when I try to access to: securimage/securimage_show.php
@Franc3sc0 Can you please be clearer as to the layout of your web site. Is that htaccess file really at the root level?
You will probably be better off raising this problem with your hosting company, as they will be able to view the web server access logs.
this htaccess http://www.francescoparisionline.it/htaccess.txt is the standard htaccess of phplist, secureimage was present at the same level of phplist. For security reasons the rules contained in that htaccess limit the possibility to directly access any php file excepting for index.php | dl.php | ut.php | lt.php | download.php | connector.php .
Some few minutes ago, I tried to move the secureimage folder in another position:
Not exactly I also need to call secureimage_show.php from HTML forms using the class secureimage.php , anyway it’s clear that I need to debug what happens in my enviroment to set appropriately the necessary parameters
Regarding the url mysite.com, I’m sorry I used it as an example, just to say my_site.com, I wasn’t aware of its actual existance.