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 (3 Replies, Read 1339 times)
johnywhy
Group: Member
Post Group: Newbie
Posts: 9
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: 4875
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: 9
Status:
new Softaculous installation
IP: --   

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

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is February 25, 2021, 2:11 am.

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