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.