PHP Path alias settings

Source: Internet
Author: User

<ifmodule alias_module>
# Redirect:allows clients about documents, used to
# exist in your server ' s namespace, but does not anymore. The client
# would make a new request for the document at its new location.
# Example:
# Redirect Permanent/foo Http://

# Alias:maps Web paths into filesystem paths and are used to
# Access content that is does not live under the documentroot.
# Example:
# Alias/webpath/full/filesystem/path
# If you include a trailing/on/webpath then the server would
# require it to is present in the URL. You'll also likely
# need to provide a <Directory> sections to allow access to
# The FileSystem path.

# Scriptalias:this controls which directories contain server scripts.
# scriptaliases is essentially the same as Aliases, except that
# documents in the target directory is treated as applications and
# run by the server when requested rather than as documents sent to the
# Client. The same rules about trailing '/' Apply to Scriptalias
# directives as to Alias.

#Alias/o2o/assets "S:\works\o2o\o2o-assets"
#<directory "S:\works\o2o\o2o-assets" >
#AllowOverride authconfig
#Order Allow,deny
#Allow from all

Alias/o2o/assets "S:\works\o2o\o2o-assets"
<directory "S:\works\o2o\o2o-assets" >
AllowOverride authconfig
Order Allow,deny
Allow from all


PHP Path alias settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.