WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #23073, comment 48


Ignore:
Timestamp:
04/17/2014 06:12:50 PM (8 years ago)
Author:
wycks
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23073, comment 48

    v1 v2  
    1 I just ran into this problem on WAMP, I was unable to get 23073.7.2.diff​ to work. Changing the rewrite rules directly as seen in the ticket does work.
     1Edit I can confirm  23073.7.2.diff​ does work, I was looking in the wrong spot.
    22
    33Stats:
     
    1919
    2020
    21 {{{
    22 http://dev.work/multisite  - works fine
    23 http://dev.work/multisite/en  - returns 403 for assets.
    24 }}}
    2521
    2622
    27 Example CSS url:
    28 http: //dev.work/multisite/en/wp-content/themes/twentyfourteen/style.css?ver=3.9
    2923
    30 Error: You don't have permission to access /multisite/D:/Sites/MultiSite/wp-content/themes/twentyfourteen/style.css on this server.
    31 
    32 Recommended by WP does not work:
    33 
    34 {{{
    35 #RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) D:/Sites/MultiSite/$2 [L]
    36 #RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ D:/Sites/MultiSite/$2 [L]
    37 }}}
    38 This works:
    39 
    40 {{{
    41 RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) /multisite/$2 [L]
    42 RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ /multitest/$2 [L]
    43 }}}