[wp-trac] [WordPress Trac] #12255: apache_get_modules() not returning mod_rewrite status
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 17 13:58:57 UTC 2010
#12255: apache_get_modules() not returning mod_rewrite status
--------------------------+-------------------------------------------------
Reporter: JohnONolan | Owner: ryan
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Multisite | Version: 3.0
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by nacin):
* status: closed => reopened
* resolution: duplicate =>
* component: Permalinks => Multisite
* milestone: => 3.0
Comment:
It's actually a duplicate (well, it will be) of #11848, in that
got_mod_rewrite() returns true as long as it's Apache and a filter doesn't
have it return false.
The same checks aren't used, and that's what I'm going to leave this
ticket open for. We use apache_get_modules() in network.php, but in WP we
have apache_mod_loaded() and got_mod_rewrite(). We should transition over
to these.
Since get_mod_rewrite() may return false positives (while
apache_get_modules() by itself may return false negatives), it's more than
just a simple function call switch, we'll have to massage the messages a
bit.
This has a decent amount to do with wpfs so I'll add this to my to-do
list.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12255#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list