How to set Discuz under Apache server! X3.1 pseudo-static Forum

Source: Internet
Author: User
I have already said many times about pseudo-static settings. let's continue with Discuz today! X3 pseudo-static setting method. I have mentioned in the tutorial how to enable the pseudo-static feature of the virtual host Discuz. later I talked about how to install the pseudo-static component of the IIS server. recently I remember sharing a solution to the pseudo-static failure of the Discuzx3 Portal, today, we will talk about Dis again.

I have already said many times about pseudo-static settings. let's continue today.Discuz! X3 pseudo-static. I have mentioned in the tutorial how to enable the pseudo-static feature of the virtual host Discuz. later I talked about how to install the pseudo-static component of the IIS server. recently I remember sharing a solution to the pseudo-static failure of the Discuzx3 Portal, todayHow to set pseudo-static Discuz.

Pseudo-static is a concern when selecting Server controls. but how do users who use VPS or independent servers set the pseudo-static state of Discuzx3? Today, let's talk about how Apache users set the Discuz x3 pseudo-static state.

First, determine the Apache version you are using and whether the mod_Rewrite module is loaded.

For Apache 1.x users, check whether the following two sections of code exist in conf/httpd. conf:

LoadModule Rewrite_module libexec/mod_Rewrite.so

For users of AddModule mod_Rewrite.c Apache 2.x, check whether the following code exists in conf/httpd. conf:

LoadModule Rewrite_module modules/mod_Rewrite.so

If yes, add the following code to the configuration file (usually conf/httpd. conf. Note that if the website is defined by a virtual host, you must add it to the virtual host configuration, that is, in progress. if it is added to the virtual host configuration, it may not work, restart Apache after modification.

For specific pseudo-static rules, you can view the code generated in the background and add it to the httpd. conf file.

Today, I also shared with you how to install and configure pseudo-static on the Apache server, how to set the Discuz x3 pseudo-static, combined with the methods described earlier, we should be able to solve all the pseudo-static configuration problems.

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.