:::: MENU ::::

Monthly Archives / September 2015

  • Sep 30 / 2015
  • 0

Apache – Proxy some URLs to another server

In Apache, if you want to forward some requests matching a regex to another server, you can use the rule ProxyPassMatch.

Here is an example that is matching URL like:

  • /admin/anything
  • /list/any number/info
  • /manage/any number

and redirect it to https://my-hidden-domain.com:26000

You can then define any rule you want with multiple rules matching different regex.

  • Sep 18 / 2015
  • 0

Python – Browse directory and push on S3 (with regex)

A simple script that can browse a directory, and upload to S3 some files matching a regex.
The file will be uploaded by respecting the path you have in local.

Question ? Contact