Skip to content

Instantly share code, notes, and snippets.

@ryanwoodsmall
Created April 24, 2020 02:54
Show Gist options
  • Save ryanwoodsmall/ca8f13ac56b010ad6f368087d9daaa74 to your computer and use it in GitHub Desktop.
Save ryanwoodsmall/ca8f13ac56b010ad6f368087d9daaa74 to your computer and use it in GitHub Desktop.
httpd_mod_proxy_ftp.conf
# proxy requests /ftp/host.domain.tld/... to a real ftp server
ProxyRequests On
ProxyPreserveHost On
RewriteEngine On
RewriteRule "^/ftp/(.*)$" "ftp://$1" [P]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment