mod_uri_remap.c
file and
is compiled in by default.
Currently it is very dificult to trap all accesses to a single URI and to the 'null' URI in particular. This module makes that easy.
Full description / Example / Compile time options / RevisionHistory / Person to blame / Sourcecode
-
Mother < Local URI of the main page >
GET HTTP/1.0<cr,cr>
request) and the
associated '/' and '/.' requests. These are normally the
result of a get for
Example:
Mother: /home.html
-
Rename < from > < to >
Alias
this is only effectuated if the
from
exactly matches the incoming URI down to the last
character.
This can be very usefull to map a single page out of a secure domain or a cgi-domain.
This allows to to set up a security enforcement umbrella
over the whole web server, and make one well controlled
exception, without compromizing the whole root
segment of docroot
.
Excerp of srm.conf:
Mother /home.html
Rename /home.html /public/home.html
Rename /index.html /public/index.html
Dirk.vanGulik@jrc.it
>.
Feel free to contact me if you have any problems, icecreams or bugs. This
documentation, courtesy of Nick Himba,
<himba@cs.utwente.nl>
.
http://www.apache.org
. A snapshot of a development version
usually resides at
http://me-www.jrc.it/~dirkx/mod_uri_remap.c
. Please make sure
that you always quote the version you use when filing a bug report.