Jump to content

Edit History

kcuk

kcuk

The problem is the .htaccess files on the install 

This is the contents from the themes\.htaccess I renamed this to OLD.htaccess and CSS started loading
<FilesMatch "\.tpl$">
Deny from all
</FilesMatch>

I kind of know the puropose of the .htaccess files but not sure why its deny all. 

However images were also not loading so when I found looked at .htaccess in the img folder i saw this:

<IfModule mod_php5.c>
    php_flag engine off
</IfModule>
deny from all
<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico)$">
    order deny,allow
    allow from all
</Files>

I will start a learning curve on understanding htaccess files I guess! but when I renamed this file to OLD as well images started loading to.

Synology DS916+ 
DSM 6.2.2-24922 Update 4
Presta 1.7
 

kcuk

kcuk

The problem is the .htaccess files on the install 

This is the contents from the themes\.htaccess I renamed this to OLD.htaccess and CSS started loading
<FilesMatch "\.tpl$">
Deny from all
</FilesMatch>

I kind of know the puropose of the .htaccess files but not sure why its deny all. 

However images were also not loading so when I found looked at .htaccess in the img folder i saw this:

<IfModule mod_php5.c>
    php_flag engine off
</IfModule>
deny from all
<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico)$">
    order deny,allow
    allow from all
</Files>

I will start a learning curve on understanding htaccess files I guess! but when I renamed this file to OLD as well images started loading to.

×
×
  • Create New...