Note
PDF-417 2d Barcode Scanner In VS .NETUsing Barcode Control SDK for Visual Studio .NET Control to generate, create, read, scan barcode image in Visual Studio .NET applications.
If you use a trailing / (slash) in defining an alias, the requests that are capable of accessing the aliased directory also need to contain a trailing /
Generate PDF-417 2d Barcode In Visual Studio .NETUsing Barcode creator for VS .NET Control to generate, create PDF 417 image in Visual Studio .NET applications.
Part I Getting Started
Scan PDF-417 2d Barcode In Visual Studio .NETUsing Barcode reader for VS .NET Control to read, scan read, scan image in Visual Studio .NET applications.
AliasMatch
Draw Bar Code In .NETUsing Barcode drawer for .NET framework Control to generate, create bar code image in Visual Studio .NET applications.
The AliasMatch directive is similar to the Alias directive, except that it can make use of regular expressions Syntax: AliasMatch regex path Context: Server config, virtual host For example, the following directive matches
Decoding Barcode In .NET FrameworkUsing Barcode reader for VS .NET Control to read, scan read, scan image in Visual Studio .NET applications.
wwwyoursitecom/data/indexhtml to the /web/data/indexhtml file: AliasMatch ^/data(*) /web/data$1
Paint PDF-417 2d Barcode In Visual C#.NETUsing Barcode maker for VS .NET Control to generate, create PDF-417 2d barcode image in VS .NET applications.
Redirect
PDF 417 Printer In .NET FrameworkUsing Barcode generator for ASP.NET Control to generate, create PDF417 image in ASP.NET applications.
The Redirect directive redirects a URL request to another URL If you have moved a section of your Web site to a new directory or even a new Web site, you can use this directive to ensure that people who have bookmarked the old site are still able to find it Syntax: Redirect [status_code] old_URL new_URL Context: Server config, virtual host, directory, per-directory access control file (htaccess) For example, the following directive redirects all URL requests containing the /data path to the new URL Therefore, requests for wwwyoursitecom/data/somefiletxt are redirected to wwwyour-new-sitecom/data/somefiletxt:
Making PDF-417 2d Barcode In Visual Basic .NETUsing Barcode creation for .NET Control to generate, create PDF417 image in Visual Studio .NET applications.
Redirect /data wwwyour-new-sitecom/data
Creating Barcode In Visual Studio .NETUsing Barcode generator for .NET framework Control to generate, create bar code image in Visual Studio .NET applications.
The Redirect directive has precedence over the Alias and ScriptAlias directives By default, the status code sent to the client is Temp (HTTP status code 302) If you want to specify a different status code, use the following:
Code 128 Code Set A Printer In .NET FrameworkUsing Barcode printer for Visual Studio .NET Control to generate, create Code 128C image in VS .NET applications.
Status Code Permanent Temp See other Gone What It Does Tells the client that the redirect is permanent The HTTP status code 301 is returned Returns a temporary redirect status (302) This is the default Returns a See Other status (303), indicating that the resource has been replaced Returns a Gone status (410) indicating that the resource has been permanently removed When this status is used, the URL argument should be omitted
GTIN - 12 Generator In .NETUsing Barcode generation for Visual Studio .NET Control to generate, create Universal Product Code version A image in .NET framework applications.
5 The Apache Modules
Creating USPS PLANET Barcode In VS .NETUsing Barcode generation for Visual Studio .NET Control to generate, create Planet image in VS .NET applications.
Note
Code 39 Full ASCII Generator In Visual Basic .NETUsing Barcode generation for VS .NET Control to generate, create Code 39 Full ASCII image in .NET framework applications.
You can provide valid HTTP status codes in numeric format as well If the status you provide is between 300 and 399, the new-URL must be present; otherwise, it must be omitted You may wonder about the use of different status codes In the future, clients may be smart enough to recognize the status codes in a more meaningful manner For example, if a proxy server receives a permanent redirect status code, it can store this information in a cache so that it can directly access the new resource in a later request
Barcode Creation In JavaUsing Barcode creation for Java Control to generate, create barcode image in Java applications.
RedirectMatch
Draw GS1 - 13 In JavaUsing Barcode encoder for Java Control to generate, create EAN-13 Supplement 5 image in Java applications.
The RedirectMatch directive is similar to the Redirect directive, but it accepts regular expressions instead of the simple old URL Syntax: RedirectMatch [status_code] regex URL Context: Server config, virtual host For example, the following directive redirects all requests that end with htm to an
Code 3 Of 9 Creation In C#Using Barcode drawer for .NET framework Control to generate, create Code39 image in VS .NET applications.
html version of the same request: RedirectMatch (*)\htm$ wwwyourservercom$1html
Read EAN / UCC - 13 In .NET FrameworkUsing Barcode decoder for .NET framework Control to read, scan read, scan image in .NET applications.
As an example of how this would work, the following request:
EAN 13 Drawer In VS .NETUsing Barcode generator for ASP.NET Control to generate, create GTIN - 13 image in ASP.NET applications.
http://wwwyoursitecom/some/old/dos/files/indexhtm
Painting Code39 In JavaUsing Barcode generator for Java Control to generate, create Code-39 image in Java applications.
is redirected to:
Draw Bar Code In VS .NETUsing Barcode creation for ASP.NET Control to generate, create bar code image in ASP.NET applications.
http://wwwyoursitecom/some/old/dos/files/indexhtml
See the Redirect directive (last section) for information on status_code
RedirectTemp
The RedirectTemp directive is similar to the Redirect directive It lets the client know that the redirect is only temporary Note that the Redirect directive also produces a temporary status by default Syntax: RedirectTemp old_URL new_URL Context: Server config, virtual host, directory, per-directory access control file (htaccess)
RedirectPermanent
The RedirectPermanent directive is similar to the Redirect directive It lets the client know that the redirect is permanent Note that the Redirect directive produces a temporary status by default, but you can use the status code 301 or the keyword permanent, as the status does, the same as this directive
Part I Getting Started
Syntax: RedirectPermanent old_URL new_URL Context: Server config, virtual host, directory, per-directory access control file (htaccess)
ScriptAlias
The ScriptAlias directive creates an alias for the physical directory path Additionally, any filename supplied in the request is treated as a CGI script, and the server attempts to run the script Syntax: ScriptAlias alias physical_directory_path Context: Server config, virtual host For example, the following directive can be used to process a request such as www niteccom/cgi-bin/somescriptpl The server tries to run somescriptpl if proper permission is verified Note that the ScriptAlias directory is not browseable:
ScriptAlias /cgi-bin/ /www/nitec/public/cgi-bin/