Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Goal
- Since Apache 2.2.16, the core mod_dir module supports the
FallbackResource
directive, which solves and replaces the 80% use-case ofmod_rewrite
.
Comment | File | Size | Author |
---|---|---|---|
drupal8.fallbackresource-mod_rewrite-gone.0.patch | 4.11 KB | sun | |
drupal8.fallbackresource-mod_rewrite-disabled.0.patch | 712 bytes | sun | |
drupal8.fallbackresource-only.0.patch | 391 bytes | sun | |
Comments
Comment #2
effulgentsia CreditAttribution: effulgentsia commentedAwesome! Apache++. This could make #1183208: Remove variable_get('clean_url') and switch to index.php/path pattern for dirty URL support even more palatable by leaving less users needing to deal with dirty URLs in situations where rewrite rules don't work or conflict with other ones.
So how should we deal with this then?
And this?
This probably makes sense to leave as rewrite rule based unless someone has other ideas. All that happens when rewrite rules don't work for this is people get less optimized JS and CSS files.
Comment #3
effulgentsia CreditAttribution: effulgentsia commentedSadly, Ubuntu 10.04 ships with 2.2.14. I don't know about other common Linux distros. In #1463564: Drupal 8 does not work with PHP 5.3.2 (the version shipped with Ubuntu 10.04 LTS), Dries committed my patch that raised the PHP requirement to above what Ubuntu 10.04 ships with, but it's possible that decision will get reversed before D8 release.
Comment #4
sunI suspect that testbots don't run on Apache 2.2.16+.
Puppet config only specifies the package, but no version:
http://drupalcode.org/project/drupaltestbot-puppet.git/blob/refs/heads/m...
Comment #5
Eric_A CreditAttribution: Eric_A commentedDrupal 8 currently requires PHP 5.3.10 (Ubuntu 12.04) and for creating a testbot one is currently being pointed to Debian Squeeze.
Is the Apache 2.2.16 dependency still a blocker?
Comment #6
NaheemSays CreditAttribution: NaheemSays commentedAccording to Distrowatch (http://distrowatch.com/table.php?distribution=ubuntu), 12.04 shipped with Apache httpd 2.2.22, so that shouldn't be a problem.
Comment #7
joelpittetThis was resolved by #2382513: Regression fix: allow Drupal 8 to work without Apache mod_rewrite