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.

Comments

peterjmag’s picture

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?

derjochenmeyer’s picture

Status: Needs review » Fixed
StatusFileSize
new2.51 KB

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.

Status: Fixed » Closed (fixed)

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

derjochenmeyer’s picture

Title: Optional htaccess creation » Make .htaccess creation optional

Better title for reference.