mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add mod_fileiri, a http IRIs module for Apache 2.
mod_fileiri implements http IRIs for directories/files, i.e. if accepts URIs with non-ASCII characters encoded in UTF-8 and converts them to the legacy encoding used in the file system (which can be specified per directory, or even finer if necessary (although that's a real hack)). What is more, it continues to accept requests in the legacy encoding specified, and redirects them to the correct UTF-8 form, which then returns the actual document (without looping). There is also a backwards mode, which does redirects from URIs in a specified legacy encoding to UTF-8 if the directory/ filenames are in UTF-8. WWW: http://www.w3.org/2003/06/mod_fileiri/
This commit is contained in:
parent
ea6e094c43
commit
dc44c65e83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213802
@ -401,6 +401,7 @@
|
||||
SUBDIR += mod_extract_forwarded2
|
||||
SUBDIR += mod_fastcgi
|
||||
SUBDIR += mod_fcgid
|
||||
SUBDIR += mod_fileiri
|
||||
SUBDIR += mod_filter
|
||||
SUBDIR += mod_geoip
|
||||
SUBDIR += mod_geoip2
|
||||
|
26
www/mod_fileiri/Makefile
Normal file
26
www/mod_fileiri/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# New ports collection makefile for: mod_fileiri
|
||||
# Date created: 2008/05/27
|
||||
# Whom: chinsan
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_fileiri
|
||||
PORTVERSION= 1.15
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= LOCAL/chinsan
|
||||
DIST_SUBDIR= apache2
|
||||
|
||||
MAINTAINER= chinsan@FreeBSD.org
|
||||
COMMENT= A http IRIs module for Apache 2
|
||||
|
||||
USE_APACHE= 20+
|
||||
PLIST_SUB= APACHE_DIR=${APACHEMODDIR}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
|
||||
|
||||
do-install:
|
||||
${APXS} -i -c -n fileiri ${WRKSRC}/${PORTNAME}.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/mod_fileiri/distinfo
Normal file
3
www/mod_fileiri/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (apache2/mod_fileiri-1.15.tar.gz) = 1f948b9287a758b665a533bfe329279e
|
||||
SHA256 (apache2/mod_fileiri-1.15.tar.gz) = 103c211c3236420fb207133ee2c540c9ea6adabc803db1872e18918cf4cfbc59
|
||||
SIZE (apache2/mod_fileiri-1.15.tar.gz) = 6985
|
15
www/mod_fileiri/pkg-descr
Normal file
15
www/mod_fileiri/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
mod_fileiri implements http IRIs for directories/files, i.e.
|
||||
if accepts URIs with non-ASCII characters encoded in UTF-8 and
|
||||
converts them to the legacy encoding used in the file system
|
||||
(which can be specified per directory, or even finer if necessary
|
||||
(although that's a real hack)).
|
||||
|
||||
What is more, it continues to accept requests in the legacy
|
||||
encoding specified, and redirects them to the correct UTF-8
|
||||
form, which then returns the actual document (without looping).
|
||||
|
||||
There is also a backwards mode, which does redirects from
|
||||
URIs in a specified legacy encoding to UTF-8 if the directory/
|
||||
filenames are in UTF-8.
|
||||
|
||||
WWW: http://www.w3.org/2003/06/mod_fileiri/
|
3
www/mod_fileiri/pkg-plist
Normal file
3
www/mod_fileiri/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
%%APACHE_DIR%%/mod_fileiri.so
|
||||
@exec %D/sbin/apxs -e -a -n fileiri %D/%F
|
||||
@unexec %D/sbin/apxs -e -A -n fileiri %D/%F
|
Loading…
Reference in New Issue
Block a user