= _('This service allows you to send files on the server using SFTP, and to make them publicly available with HTTP.') ?>
∅
' . LF; else { echo '
/= $site['site_dir'] ?>
= sprintf(_('In order to be able to set up an HTTP site with this service, a subdirectory for this site must be created inside the SFTP space first. The name of this subdirectory can only contain %1$s, %2$s, %3$s, %4$s and %5$s.'), 'a
-z
', 'A
-Z
', '0
-9
', '_
', '-
') ?>
= CONF['ht']['sftp_domain'] ?>
= CONF['ht']['public_sftp_port'] ?>
/
= defined('DISPLAY_USERNAME') ? DISPLAY_USERNAME : '<username>' ?>
= _('An SSHFP record is available.') ?>
= file_get_contents(CONF['ht']['sftp_pub']) ?>
= file_get_contents(CONF['ht']['sftp_fp']) ?>
= file_get_contents(CONF['ht']['sftp_asciiart']) ?>
= _('A content security policy (CSP) forbids Web browsers from loading JavaScript or third-party resources.') ?>
.htaccess
configuration') ?>
= _('You can change the way the HTTP server answers to requests in a directory by setting some directives in a file named .htaccess
at the root of this directory. Only the following directives are allowed:') ?>
<Files>
<FilesMatch>
Redirect
RedirectMatch
RedirectPermanent
RedirectTemp
ErrorDocument
AddType
ForceType
DefaultLanguage
AddLanguage
LanguagePriority
ForceLanguagePriority
DirectoryIndex
DirectorySlash
RemoveType
RemoveOutputFilter
RemoveLanguage
RemoveEncoding
RemoveCharset
ExpiresActive
ExpiresDefault
ExpiresByType
DefaultIcon
AddDescription
AddAlt
AddAltByEncoding
AddAltByType
AddIcon
AddIconByEncoding
AddIconByType
IndexIgnore
IndexIgnoreReset
IndexOptions
IndexOrderDefault
HeaderName
ReadmeName
IndexStyleSheet
Header