Joomla uses the Apache rewrite mode, joomlaapache_PHP tutorial

Source: Internet
Author: User
Joomla uses the Apache rewrite mode method, joomlaapache. Joomla uses the Apache rewrite mode. This document describes how Joomla uses the Apache rewrite mode. For your reference, go to "using Joomla to use Apache rewrite mode, joomlaapache

This example describes how Joomla uses the Apache rewrite mode. We will share this with you for your reference. The details are as follows:

To enable "use Apache rewrite mode: mod_rewrite", you need to do two things first, otherwise your website will not work properly.

Rename the htaccess.txt file under the joomlainstallation directory to. htaccess

Method 1:If you use Windows, install notepad.txt, and then use htaccess.txt to save it as. htaccess.

Method 2:Start-run-enter "cmd", open the command line tool, enter the command "edit", click the FilePath, open the htaccess.txt file, and save it as. htaccess.

Make sure your Apache has enabled the mod_rewrite function.

Method: Open the Apache configuration file "httpd. conf", find mod_rewrite.so, remove "#" before this line of code, save the document, and restart Apache.

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.