PHP 5.6.40
Preview: fileadmin.htaccess Size: 1.89 KB
//var/softaculous/typo8/fileadmin.htaccess

# This file applies Content-Security-Policy (CSP) HTTP headers
# to directories containing (user uploaded) resources like
# /fileadmin/ or /uploads/

<IfModule mod_headers.c>
    # matching requested *.pdf files only (strict rules block Safari showing PDF documents)
    <FilesMatch "\.pdf$">
        Header set Content-Security-Policy "default-src 'self' 'unsafe-inline'; script-src 'none'; object-src 'self'; plugin-types application/pdf;"
    </FilesMatch>
    # matching requested *.svg files only (allows using inline styles when serving SVG files)
    <FilesMatch "\.svg">
        Header set Content-Security-Policy "default-src 'self'; script-src 'none'; style-src 'unsafe-inline'; object-src 'none'; sandbox;"
    </FilesMatch>
    # matching anything else, using negative lookbehind pattern
    <FilesMatch "(?<!\.(?:pdf|svg))$">
        Header set Content-Security-Policy "default-src 'self'; script-src 'none'; style-src 'none'; object-src 'none'; sandbox;"
    </FilesMatch>

    # =================================================================
    # Variations to send CSP header only when it has not be set before.
    # Adjust all `Header set` instructions above
    #     Header set Content-Security-Policy "<directives>"
    # with substitutes shown below
    #
    # -----------------------------------------------------------------
    # a) for Apache 2.4 (having `setifempty`)
    # -----------------------------------------------------------------
    #     Header setifempty Content-Security-Policy "<directives>"
    #
    # -----------------------------------------------------------------
    # b) for Apache 2.2 (using fallbacks)
    # -----------------------------------------------------------------
    #     Header append Content-Security-Policy ""
    #     Header edit Content-Security-Policy "^$" "<directives>"
    #
    # =================================================================
</IfModule>

Directory Contents

Dirs: 6 × Files: 21

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2026-06-18 10:09:33
Edit Download
php53 DIR
- drwxr-xr-x 2026-06-18 10:09:33
Edit Download
php56 DIR
- drwxr-xr-x 2026-06-18 10:09:33
Edit Download
php71 DIR
- drwxr-xr-x 2026-06-18 10:09:33
Edit Download
php81 DIR
- drwxr-xr-x 2026-06-18 10:09:33
Edit Download
php82 DIR
- drwxr-xr-x 2026-06-18 10:09:33
Edit Download
312 B lrw-r--r-- 2023-01-04 01:54:18
Edit Download
6.71 KB lrw-r--r-- 2026-06-17 10:12:38
Edit Download
433 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
1.89 KB lrw-r--r-- 2025-05-21 04:40:24
Edit Download
100 B lrw-r--r-- 2026-06-11 06:37:12
Edit Download
348 B lrw-r--r-- 2023-06-26 03:45:26
Edit Download
116 B lrw-r--r-- 2023-06-26 03:45:26
Edit Download
5.77 KB lrw-r--r-- 2026-06-17 10:12:38
Edit Download
3.50 KB lrw-r--r-- 2026-06-17 04:54:36
Edit Download
924 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
19.00 KB lrw-r--r-- 2026-06-17 10:12:38
Edit Download
733 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
2.08 KB lrw-r--r-- 2026-06-17 10:12:38
Edit Download
1.94 KB lrw-r--r-- 2026-04-27 03:06:44
Edit Download
781 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
3.43 KB lrw-r--r-- 2026-05-13 04:51:48
Edit Download
767 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
14.00 KB lrw-r--r-- 2026-04-27 03:06:44
Edit Download
3.36 KB lrw-r--r-- 2026-04-27 03:06:44
Edit Download
4.08 KB lrw-r--r-- 2021-12-23 06:54:36
Edit Download
452 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).