Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : Softaculous breaks RemoveHandler and SetHandler in MediaWiki



Threaded Mode | Print  

 Softaculous breaks RemoveHandler and SetHandler in MediaWiki (6 Replies, Read 4591 times)
johnywhy
Group: Member
Post Group: Newbie
Posts: 11
Status:
To prevent script execution in uploads dir, MediaWiki says to apply this htaccess:

Code
# Serve HTML as plaintext, don't execute SHTML
AddType text/plain .html .htm .shtml .phtml .php .php3 .php4 .php5 .php7

# Old way of registering php with AddHandler
RemoveHandler .php

# Recent way of registering php with SetHandler
<FilesMatch "\.ph(p[3457]?s?|tml)$">
SetHandler None
</FilesMatch>
https://www.mediawiki.org/wiki/Manual:Security#Upload_security


In manual installations of mw, this works. In Softaculous install on my namecheap host, it fails. I have confirmed this with phpinfo.php.
IP: --   

Softaculous breaks RemoveHandler and SetHandler in MediaWiki
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5001
Status:
Hi,

Sorry for the inconvenience caused.

Do you face this issue while installing MediaWiki via Softaculous or while upgrading your MediaWiki installation ?

-----------------------
Loginizer - WordPress Security Plugin
Follow us on Twitter
IP: --   

Softaculous breaks RemoveHandler and SetHandler in MediaWiki
johnywhy
Group: Member
Post Group: Newbie
Posts: 11
Status:
new Softaculous installation
IP: --   

Softaculous breaks RemoveHandler and SetHandler in MediaWiki
johnywhy
Group: Member
Post Group: Newbie
Posts: 11
Status:
same problem in manually-installed MediaWiki. On namecheap
IP: --   

Softaculous breaks RemoveHandler and SetHandler in MediaWiki
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5001
Status:
Hi,

Sorry for the delay in response.

The .htaccess file is not included as a part of MediaWiki package so it should not be overwritten when you upgrade.

Can you please open a support ticket with us so we can check this in detail :
https://softaculous.deskuss.com/

-----------------------
Loginizer - WordPress Security Plugin
Follow us on Twitter
IP: --   

Softaculous breaks RemoveHandler and SetHandler in MediaWiki
johnywhy
Group: Member
Post Group: Newbie
Posts: 11
Status:
hi

.htaccess isn't getting overwritten. It's just not working.

But i see now that in a manual mw install (not softaculous), the same .htaccess (above) isn't working. So this isn't a softaculous issue.

thx
IP: --   

Softaculous breaks RemoveHandler and SetHandler in MediaWiki
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5001
Status:
Yes correct it seems to be a server config related issue.

-----------------------
Loginizer - WordPress Security Plugin
Follow us on Twitter
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 31, 2021, 5:00 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.678