diff options
Diffstat (limited to 'apache/vhosts.m4/cgi+redir.m4')
-rw-r--r-- | apache/vhosts.m4/cgi+redir.m4 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apache/vhosts.m4/cgi+redir.m4 b/apache/vhosts.m4/cgi+redir.m4 new file mode 100644 index 0000000..b7a3d39 --- /dev/null +++ b/apache/vhosts.m4/cgi+redir.m4 @@ -0,0 +1,16 @@ +<VirtualHost *> + ServerName _HOST +dnl ServerAlias _LOCALHOST + ServerAdmin _EMAIL + DocumentRoot _FILEROOT + ScriptAlias /cgi-bin/ _CGIROOT + user _UID + group _GID +</VirtualHost> +<VirtualHost *> + ServerName _REDIRHOST + ServerAlias *._JOKERHOST + RewriteEngine On + RewriteRule / http://_HOST/ [R] + TransferLog /dev/null +</VirtualHost> |