WAMP integrated environment to enable rewrite pseudo-static support

Source: Internet
Author: User

Wamp integration in the installation after the default is not turned on pseudo-static, so sometimes some site source code into when the source contains.htaccess (after installing the ISAPI rewrite configuration generated files) file, you may have a user 500 error, This is generally because it does not support pseudo-static, it is very simple to solve the problem, just a few steps. So let me share some of that. WAMP integrated environment to turn on rewrite pseudo-static method:

First step: Open the Bin folder in the Wamp installation directory, find the Conf directory in the Apache installation directory httpd.conf This file (for example, my is: F:\wamp\bin\apache\Apache2.2.11\conf), search found, " LoadModule rewrite_module modules/mod_rewrite.so", find this line, remove the front" # ";

The second step: Find "allowoverride None" instead of "allowoverrideAll", as if there are two positions, have changed the forget ... ;

Step Three: Restart Apache

Fourth step: Now, you can use the. htaccess file for pseudo-static functions.

This completes the WAMP integration environment to turn on rewrite pseudo-static!

Reprinted from: http://www.zh30.com/the-wamp-integrated-environment-the-open-rewrite-static.html

WAMP integrated environment to enable rewrite pseudo-static support

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.