https://github.com/gluster/mod_proxy_gluster
Modified mod_proxy_gluster supporting large files, ISO8601 times, and icons in much the same manner as the normal mod_autoindex from Apache
https://github.com/gluster/mod_proxy_gluster
Last synced: about 1 year ago
JSON representation
Modified mod_proxy_gluster supporting large files, ISO8601 times, and icons in much the same manner as the normal mod_autoindex from Apache
- Host: GitHub
- URL: https://github.com/gluster/mod_proxy_gluster
- Owner: gluster
- License: apache-2.0
- Created: 2015-10-13T04:28:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-16T05:36:59.000Z (over 10 years ago)
- Last Synced: 2025-02-04T19:42:17.596Z (over 1 year ago)
- Language: C
- Homepage: https://gluster.org
- Size: 32.2 KB
- Stars: 0
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mod_proxy_gluster
Modified `mod_proxy_gluster` supporting large files, ISO8601 times, and icons
in much the same manner as the normal `mod_autoindex` from Apache. This module
has been tested on both Apache 2.2 and 2.4.
# SYNOPSIS
`mod_proxy` and related modules implement a proxy/gateway for Apache HTTP
Server, supporting a number of popular protocols as well as several different
load balancing algorithms.
This module adds support for accessing Gluster Volumes without the need to
mount them with glusterfs-fuse or NFS. The purpose is to serve static contents.
Files are returned without passing through any interpreters.
`mod_proxy_gluster` is not intended to be used for storing web-applications
(written in languages like PHP).
# DOCUMENTATION
`mod_proxy` and its configuration directives are explained in the Apache HTTP
Server documentation at .
See the [`mod_proxy_gluster.conf.example`](./mod_proxy_gluster.conf.example)
file for configuration directives.
For allowing unpriviledged users (like a webserver) to access the Gluster
Volumes, some preparations on the Gluster Storage Servers need to be taken
care of:
1. Allow non-root users to connect to glusterd
In `/etc/glusterfs/glusterd.vol` add this option:
`option rpc-auth-allow-insecure on`
Restart the glusterd service after making this change.
2. Allow non-root users to connect to the bricks in the volume, the example
below uses the volume called bigfiles
`gluster volume set bigfiles server.allow-insecure on`
Note: Some versions of Gluster require the volume to be stopped and started
after changing `server.allow-insecure`. Gluster 3.6 and newer should not
need that.
# BUILDING
There are three ways to build this module:
1. Run `make` and copy the resulting `.so` from the `.libs`
2. Manually run
`apxs -c $(pkg-config glusterfs-api --cflags-only-I --libs-only-l) mod_proxy_gluster.c`
Copy the resulting `.so` file from the `.libs` build directory to the Apache
modules directory
# CONTACT
General Gluster questions should be directed to the Gluster Users mailing list
.
Niels de Vos is the main developer of `mod_proxy_gluster`.
For most suggestions and discussions send an email to the Gluster Developers
Discussion List and add Niels on CC.
David Jericho extended the source for a mirroring service.