Page 2 of 2

Re: Images in Themes not working

Posted: Wed Sep 30, 2009 7:09 am
by johnortt
I could try re-enabling it but removing one type of file at a time until it works.  That way I'll know what's causing the problem.

Do you have any ideas Rolf?

Re: Images in Themes not working

Posted: Wed Sep 30, 2009 7:20 am
by johnortt
Just tried removing the filetypes one at a time and still no luck.

Even when I removed all the filetypes from within the brackets no luck.

It looks like I'm stuck with disabling it for the time being....

Re: Images in Themes not working

Posted: Wed Sep 30, 2009 7:53 am
by Rolf
John,

I'm not a .htaccess expert, so I googled a bit.
Just experimental but place also this into the existing .htaccess file:

Code: Select all

# To deny PHPs
<Files ~ "\.(php|php3|php4|php5|phtml|pl|cgi)$">                                                                             
  order deny,allow                                                                                                           
  deny from all 
  allow from 127.0.0.1         <---------- your website IP address
</Files>  
As far as I understand it, the IP address mentioned here is able to open this folder.
If you put your own website IP address in there, it may work.  :-\
But like I said it is just a little experiment   :)

Perhaps you have to find a .htaccess forum on this.
They could help you better and this isn't really CMSMS related anymore   ;)

grtz Rolf

[Solved] Re: Images in Themes not working

Posted: Wed Sep 30, 2009 8:04 am
by johnortt
Brilliant, thanks Rolf

I think we can now mark this topic as solved  ;D