[wp-trac] [WordPress Trac] #12255: apache_get_modules() not returning mod_rewrite status
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 9 18:21:35 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: |
--------------------------+-------------------------------------------------
Comment(by nacin):
I've implemented some logic in network.php that goes like this:
1. Check for mod_rewrite using apache_mod_loaded(). If true, then
mod_rewrite definitely exists and we continue.
2. Otherwise, check for mod_rewrite using got_mod_rewrite(). If true, then
we're running Apache and can assume mod_rewrite. If that's the case, we
still display a notice.
3. Otherwise, we must assume that mod_rewrite does not exist, and we
display a warning.
See http://core.trac.wordpress.org/browser/trunk/wp-
admin/network.php?rev=13632#L71.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12255#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list