Project:Javascript Aggregator
Version:6.x-1.3
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I recently ran into the issue of "Certain hosts do not like multiple .htaccess files". The css_gzip module gets around this by providing an option to disable the creation of the htaccess file and then provides what you need to add to your main drupal htaccess in the README file. The attached patch implements this exact feature into javascript_aggregator. Its a multiple file patch for javascript_aggregator.module and README.

With this feature, you can now have gzipped CSS and gzipped JS on these restrictive hosts.

AttachmentSize
jsaggregator_optional_htaccess.patch2.4 KB

Comments

#1

I ran into the same problem with a client's lame host recently, and this patch (and the added instructions in the README.txt) took care of it. Any chance this could be added for 6.x-1.5?

#2

Status:needs review» fixed

I slightly modifed and committed this patch: http://drupal.org/cvs?commit=354396

Thanks for looking into this. Please report any errors or useability problems this might cause.

AttachmentSize
javascript_aggregator_no_htaccess.patch 2.51 KB

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

Title:Optional htaccess creation» Make .htaccess creation optional

Better title for reference.