Pagoda Windows Panel IIS configuration file format description under 6.x
The following tutorial column of Pagoda Panel will introduce to you the format description of the IIS configuration file under 6.x of Pagoda Windows Panel. I hope it will be helpful to friends in need!
Instructions for IIS configuration file format under 6.x
<?xml version="1.0" ?> <configuration> <location allowOverride="false" inheritInChildApplications="false" path="."> <system.webServer> <rewrite> <rules configSource="web_config\rewrite.config"></rules> </rewrite> <defaultDocument configSource="web_config\default.config"></defaultDocument> <httpErrors configSource="web_config\httpErrors.config"></httpErrors> <handlers configSource="web_config\php.config"></handlers> </system.webServer> </location> </configuration>
In order to reduce IIS configuration file errors in Windows panel 6.x and above, Split the web.config configuration file into 5 files, namely:
1, web.config
main configuration file, the format is fixed with the above code
2, rewrite .config
Pseudo-static/301/reverse proxy and other configurations with jump
3, default.config
Default home page configuration function
4. httpErrors.config
Error page configuration
5.php.config
Switch php version configuration
If any of the above files are missing, your website A 500 error will be reported. Users with obsessive-compulsive disorder should not delete it at will.
Once deleted, you can restore the default configuration through Website Management->Default Configuration-> and restore it to the initial state
Notes (must read for PHP users):
1. The new panel web.config has a fixed format, and the format is the file in the code. (Do not modify! Do not modify! Do not modify!)
2. If you need to add a pseudo-static/301/reverse proxy, please do so through the panel configuration function, otherwise the panel will not be able to recognize your manual addition. What is the configuration, and the website cannot be managed
3. If the default configuration of the Pagoda panel cannot meet your needs, you can submit suggestions to any management of the Pagoda official group. You can also learn about the configuration of IIS in Add the configuration you need without leaving the original configuration
Must read for wordpress website users: If your website has a 500 error due to entering the background to install modules/setting up fixed connections, etc., the solution is as follows:
Since the wordpress program will automatically detect whether the web.config file contains module references, if it does not exist, it will automatically modify this file, which will conflict with the 6.x panel configuration. You can solve it through the following methods:
1. Through website management->root directory->Lock configuration file->uncheck and unlock the configuration file
2. Enter the WordPress background to complete the operations you need
3. At this time, your web.config will be changed, as shown below to change the wordpress fixed connection
4. You can change the
5. Return to the main configuration file of the website and choose to restore the default configuration
6. Return to Website directory, choose to lock the website configuration to ensure that the main website configuration file is not modified, resulting in website 500 error
The wordpress program must be locked, otherwise your website configuration file will be modified after entering the background once. Which results in 500 error
The above is the detailed content of Pagoda Windows Panel IIS configuration file format description under 6.x. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











With the rapid development of the Internet, website performance has an increasing impact on user experience and SEO rankings. In order to improve the performance of our website, we need to perform performance stress testing and tuning to locate problems and optimize them. As a popular service management panel, Pagoda Panel provides convenient and simple performance stress testing and tuning tools. The following will introduce how to perform website performance stress testing and tuning through the Pagoda Panel. 1. Performance stress testing Performance stress testing is to test the load capacity and response speed of the website by simulating user access. In the Pagoda panel, we can

Pagoda PHP version switching: Interpretation of detailed operation steps, specific code examples are required. With the continuous development of Internet technology, website development often involves the use of different versions of PHP. Pagoda Panel is a simple and easy-to-use server management software that can help users quickly build and manage server environments. In the process of website development, sometimes it is necessary to switch the PHP version to adapt to different needs. This article will explain in detail how to switch the PHP version in the Pagoda panel, and give specific operating steps and code examples. Step 1: Log in to Pagoda Noodles

Title: How does the Pagoda panel deploy Go language projects? In today's Internet era, Go language is favored by more and more developers as an efficient, concise and powerful programming language with strong concurrency performance. As a powerful server management tool, Pagoda Panel provides convenient interface operations and various automated deployment functions. So, can the Pagoda panel deploy Go language projects? The answer is yes. Next, we will explain in detail how to deploy Go language projects on the Pagoda panel and provide specific code examples. At first, we

Pagoda Linux must-read: PHP5.2.0 version installation tips In the process of using the Pagoda Linux panel to build a website, some old versions of the PHP environment may be required, such as PHP5.2.0 version. This article will introduce how to install PHP5.2.0 version on the Pagoda Linux panel, and provide specific code examples to help readers quickly complete the installation process. 1. Install PHP5.2.0 version Step 1: Enter the Pagoda Linux panel. First, enter your server IP address in the browser.

The method for installing PHP in Pagoda and switching between versions is: 1. Click "My Website" on the home page of Pagoda Panel; 2. Find the corresponding website and click the "Settings" button on the right; 3. Click "Apache/Nginx" on the left "tab, you can see the PHP version currently in use; 4. Click the "Switch" button behind the PHP version and select the version you want to switch; 5. Restart the relevant services.

In this article, I will introduce in detail the steps on how to install PHP5.2.0 version on the Pagoda panel, including specific code examples. Although PHP5.2.0 is relatively old, there are still some projects with special needs that need to use this version. Hope this tutorial is helpful to everyone. In the process of using the Pagoda Linux panel, sometimes we encounter situations where we need to install PHP5.2.0. In this tutorial, I will introduce you in detail how to install PHP5 on the Pagoda panel.

Title: One click to get it done! Guide to installing PHP5.2.0 on Pagoda Linux In the current Internet era, website development is inseparable from PHP. The PHP5.2.0 version is outdated compared to the current version, but sometimes we still need to install the PHP5.2.0 version on the Pagoda panel, perhaps for compatibility with some old projects or requirements. In this article, we will introduce how to install PHP5.2.0 on Pagoda Linux with one click. We hope it will be helpful to you. step one

宝塔一键安装PHP,轻松切换各版本宝塔是一款网络服务器管理软件,提供了一键安装和管理各种服务器环境的功能,包括PHP、MySQL、Nginx等。本文将介绍如何通过宝塔一键安装PHP,并且演示如何轻松切换各个PHP版本。一、安装宝塔面板首先,我们需要在服务器上安装宝塔面板。可以通过以下命令进行安装:wget-Oinstall.shhttp://downl
