https://github.com/kjdev/apache-mod-identicon
mod_identicon is identicon handler module for Apache HTTPD Server
https://github.com/kjdev/apache-mod-identicon
Last synced: 10 months ago
JSON representation
mod_identicon is identicon handler module for Apache HTTPD Server
- Host: GitHub
- URL: https://github.com/kjdev/apache-mod-identicon
- Owner: kjdev
- Created: 2012-11-13T06:35:17.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-11-13T06:36:04.000Z (about 13 years ago)
- Last Synced: 2025-02-09T06:44:13.336Z (about 1 year ago)
- Language: C
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mod_identicon #
mod_identicon is identicon handler module for Apache HTTPD Server.
## Dependencies ##
* GD
* libmemcached [optional]
## Build ##
% ./autogen.sh (or autoreconf -i)
% ./configure [OPTION]
% make
% make install
### Build Options ###
enable memcache. [Default: disable]
* --enable-identicon-memcache
apache path.
* --with-apxs=PATH
* --with-apr=PATH
* --with-apreq2=PATH
gd path. [Default: /usr/include]
* --with-gd=PATH
libmemcached path. [Default: /usr/include/libmemcached]
* --with-libmemcached=PATH
## Configration ##
httpd.conf:
LoadModule identicon_module modules/mod_identicon.so
SetHandler identicon
enable memcache:
IdenticonMemcacheHost localhost:11211
IdenticonMemcacheExpire 30
## Request Parameter ##
parameter | description
--------- | -----------------------------
u | user hash
s | image size (default: 80)
t | background(white) transparent
## Example ##
http://localhost/identicon?u=xxxxxxxxxx
http://localhost/identicon?u=xxxxxxxxxx&s=40
http://localhost/identicon?u=xxxxxxxxxx&s=40&t=1