Posted by recrit on October 31, 2009 at 8:35pm
| 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.
| Attachment | Size |
|---|---|
| jsaggregator_optional_htaccess.patch | 2.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
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.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
Better title for reference.