It is currently Tue May 23, 2017 10:31 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Problem with CSS and JS aggregation in Drupal
PostPosted: Wed Jul 16, 2014 6:42 am 
Newbie
Newbie

Joined: Wed Jul 16, 2014 6:28 am
Posts: 4
Hi,
I have problem with CSS and JS aggregation in Drupal. When I turn on JS na CSS aggregation in admin/config/development/performance all JS and CSS disappear from site. It because no aggregated CSS and JAVASCRIPT created within drupal directory /sites/default/files/css and /sites/default/files/js/ can be accessible. All folders have chmod 777.

When I try to open for example sitename.com/sites/default/files/js/js_KCd8rbJYUruV1tRJnh4um34UYvyhlrSVCPR1jNko2h8.js I get:

Quote:
Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.
Error 403
sitename.com
Wed Jul 16 06:39:28 2014
Apache mod_fcgid/2.3.7 mod_auth_pgsql/2.0.3


What's in matter?


Top
 Profile  
 
 Post subject: Re: Problem with CSS and JS aggregation in Drupal
PostPosted: Wed Jul 16, 2014 3:00 pm 
Newbie
Newbie

Joined: Wed Jul 16, 2014 6:28 am
Posts: 4
Error was removed using freehostia support. They renamed htaccess file to "a.htaccess" and it contain this code:

Code:
# Turn off all options we don't need.
Options None
Options +FollowSymLinks

# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
  # Override the handler again if we're run later in the evaluation list.
  SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>

# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
  php_flag engine off
</IfModule>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: Support Team, Moderators

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011