Data Structures | Defines | Enumerations | Functions

UrlRewrite.h File Reference

A brief file description. More...

#include "UrlMapping.h"
#include "HttpTransact.h"
#include <pcre.h>
Include dependency graph for UrlRewrite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  UrlRewrite
struct  UrlRewrite::RegexMapping
struct  UrlRewrite::MappingsStore

Defines

#define URL_REMAP_FILTER_NONE   0x00000000
#define URL_REMAP_FILTER_REFERER   0x00000001
#define URL_REMAP_FILTER_REDIRECT_FMT   0x00010000

Enumerations

enum  mapping_type {
  FORWARD_MAP, REVERSE_MAP, PERMANENT_REDIRECT, TEMPORARY_REDIRECT,
  FORWARD_MAP_REFERER, FORWARD_MAP_WITH_RECV_PORT, NONE
}
 

used for redirection, mapping, and reverse mapping

More...

Functions

void url_rewrite_remap_request (const UrlMappingContainer &mapping_container, URL *request_url)

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file UrlRewrite.h.


Define Documentation

#define URL_REMAP_FILTER_NONE   0x00000000

Definition at line 36 of file UrlRewrite.h.

#define URL_REMAP_FILTER_REDIRECT_FMT   0x00010000

Definition at line 38 of file UrlRewrite.h.

Referenced by RemapProcessor::finish_remap().

#define URL_REMAP_FILTER_REFERER   0x00000001

Definition at line 37 of file UrlRewrite.h.

Referenced by RemapProcessor::finish_remap().


Enumeration Type Documentation

used for redirection, mapping, and reverse mapping

Enumerator:
FORWARD_MAP 
REVERSE_MAP 
PERMANENT_REDIRECT 
TEMPORARY_REDIRECT 
FORWARD_MAP_REFERER 
FORWARD_MAP_WITH_RECV_PORT 
NONE 

Definition at line 45 of file UrlRewrite.h.


Function Documentation

void url_rewrite_remap_request ( const UrlMappingContainer mapping_container,
URL request_url 
)