Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F3985533
.htaccess
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
833 B
Referenced Files
None
Subscribers
None
.htaccess
View Options
<IfModule
headers_module
>
Header
set
X-Content-Type-Options
nosniff
</IfModule>
<IfModule
php7_module
>
php_flag
engine
off
</IfModule>
# In php8, php dropped the version number.
<IfModule
php_module
>
php_flag
engine
off
</IfModule>
# This will only work in certain configs, but better than nothing
# Keep CSP headers in sync with ContentSecurityPolicy::UPLOAD_CSP[_PDF]
<IfModule
headers_module
>
Header
set
Content-Security-Policy
"default-src 'none'; style-src 'unsafe-inline' data:; font-src data:; img-src data: 'self'; media-src data: 'self'; sandbox"
<Files
"*.pdf"
>
# Chrome wants no sandbox and object-src 'self' to load pdfs.
Header
set
Content-Security-Policy
"default-src 'none'; style-src 'unsafe-inline' data:; font-src data:; img-src data: 'self'; media-src data: 'self'; object-src 'self'"
</Files>
</IfModule>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 13 2026, 23:26 (16 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
77/60/1dc9da0d2efdee0d4b4d3fc1c8d1
Default Alt Text
.htaccess (833 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment