https://bugzilla.wikimedia.org/show_bug.cgi?id=65220

--- Comment #10 from [email protected] ---
(In reply to Tisza Gergő from comment #9)
> I am not sure I understand what's the actual bug here. Does the lack of
> rewrite rule inheritance break 404 handlers on a vagrant box with multimedia
> role enabled? On a clean MediaWiki install? On a specific site?
> 
> Could you provide a step-by-step description with expected and actual
> outcomes?
> 
> (Side note: you can update gerrit patches by using git commit --amend, you
> don't need to create a new patchset to fix errors in the old one. See
> https://www.mediawiki.org/wiki/Gerrit/Tutorial#Amending_a_change )

This vagrant box uses server files /etc/apache2/site.d/devwiki/000-devwiki:

RewriteEngine On
RewriteRule ^/$ /w/index.php [R=301]

Alias /wiki "/vagrant/mediawiki/index.php"
Alias /w "/vagrant/mediawiki"
Alias /images "/srv/images"
Alias /mediawiki-vagrant.png /var/www/mediawiki-vagrant.png
Alias /favicon.ico /var/www/favicon.ico

/etc/apache2/site.d/devwiki/thumb-php-on-404:

RewriteEngine On

# call thumb.php for thumb images not on disk
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule
^/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/[^/]*([0-9]+)px-.*$
/w/thumb_handler.php [PT,QSA,B]


# call thumb.php for thumb archive images not on disk
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule
^/images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/[^/]*([0-9]+)px-.*$
/w/thumb_handler.php [PT,QSA,B]


That is terrible for test environment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to