[wp-trac] [WordPress Trac] #28766: Permalinks Options/Notices on nginx + HHVM incorrect

WordPress Trac noreply at wordpress.org
Mon Jul 7 10:30:07 UTC 2014


#28766: Permalinks Options/Notices on nginx + HHVM incorrect
-------------------------------------+-----------------------------
 Reporter:  crxgames                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Permalinks               |     Version:  3.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:   => has-patch needs-testing
 * focuses:  administration =>
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => Future Release


Comment:

 Thanks for the report crxgames.

 Interesting that HHVM doesn't pass the web server name through to
 `$_SERVER['SERVER_SOFTWARE']`. I would have expected it to pass through
 'nginx' if I'm running Nginx.

 What happens if you're running HHVM behind Apache instead of Nginx? The
 return value of `got_url_rewrite()` will return true even if
 `got_mod_rewrite()` returns false. (Granted, if you're running HHVM you're
 unlikely to be running Apache without mod_rewrite, but the point still
 stands.)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28766#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list