[Solved] Images in Themes not working

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
johnortt
Forum Members
Forum Members
Posts: 12
Joined: Wed Sep 23, 2009 5:23 pm

Re: Images in Themes not working

Post 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?
johnortt
Forum Members
Forum Members
Posts: 12
Joined: Wed Sep 23, 2009 5:23 pm

Re: Images in Themes not working

Post 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....
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Images in Themes not working

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
johnortt
Forum Members
Forum Members
Posts: 12
Joined: Wed Sep 23, 2009 5:23 pm

[Solved] Re: Images in Themes not working

Post by johnortt »

Brilliant, thanks Rolf

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

Return to “[locked] Installation, Setup and Upgrade”