Welcome
Guest. Please
Login
or
Register
Client Area
|
Softaculous Cloud
|
Calendar
|
Quick Links
|
You are here:
Index
>
Softaculous Auto Installer
>
Bugs
> Topic :
Softaculous breaks RemoveHandler and SetHandler in MediaWiki
Normal Mode
|
Print
Softaculous breaks RemoveHandler and SetHandler in MediaWiki (6 Replies, Read 19064 times)
johnywhy
February 2, 2021, 9:33 pm
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:
--
Threads
johnywhy
Softaculous breaks RemoveHandler and SetHandler in MediaWiki
(6 Replies, Read 19064 times)
|--
Brijesh
Hi, Sorry for...
on February 10, 2021, 7:48 am
|--
johnywhy
new Softaculous installation
on February 10, 2021, 8:12 am
|--
johnywhy
same problem in...
on February 12, 2021, 12:00 am
|--
Brijesh
Hi, Sorry for...
on February 26, 2021, 1:14 pm
|--
johnywhy
hi .htaccess isn't...
on February 26, 2021, 8:01 pm
|--
Brijesh
Yes correct it...
on March 10, 2021, 10:20 am
« Previous
Next »
Normal Mode
|
Print
Users viewing this topic
1 guests, 0 users.
All times are GMT. The time now is April 30, 2025, 9:19 am.
Powered By AEF 1.0.8
© 2007-2008
Electron Inc.
Queries: 10 | Page Created In:0.332