Apache has loaded the module, but cannot parse the developed rewrite module function

Source: Internet
Author: User

For example, configuring the correct documentroot on the virtual domain name and directory is sequential

<virtualhost *:80>
ServerAdmin [email protected]
DocumentRoot "/usr/local/apache/htdocs/api"
ServerName api.test.licheepay.com
<directory "/usr/local/apache/htdocs/api" >
Options Indexes FollowSymLinks
AllowOverride All
Order Allow,deny
Allow from all
</Directory>

Errorlog "|/usr/local/sbin/cronolog/usr/local/apache/logs/api/%y-%m-%d/errorlog_%h.log"
Customlog "|/usr/local/sbin/cronolog/usr/local/apache/logs/api/%y-%m-%d/customlog_%h.log" common

#ErrorLog "|/usr/local/apache/bin/rotatelogs/usr/local/apache/logs/api/errorlog.%y-%m-%d-%h_%m_%s.log 10M +480"
#CustomLog "|/usr/local/apache/bin/rotatelogs/usr/local/apache/logs/api/customlog.%y-%m-%d-%h_%m_%s.log 20M +480" Common
</VirtualHost>
If the virtual domain name is configured, to add the following paragraph on the virtual server, the specific can refer to the above configuration can be, but also note that http.conf is not httpd-vhost.conf This file included in the? Need to check

<directory "/usr/local/apache/htdocs/api" >
Options Indexes FollowSymLinks
AllowOverride All
Order Allow,deny
Allow from all
</Directory>

Apache has loaded the module, but cannot parse the developed rewrite module function

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: info-contact@alibabacloud.com 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.