Apache is a highly configurable software. It has many features, but each one is expensive. To some extent, optimizing Apache involves allocating resources in an appropriate way and simplifying the configuration to include only necessary content.
Have you ever been or are you worried about how you can make changes to a site with thousands of pages in the shortest possible time? Then you can look at the introduction of this article, may be helpful to you.
What is SSI?
SSI is an abbreviation
Apache HTTP Server (II)-Main configuration fileApache configures the HTTP server by placing commands in the text configuration file. The main configuration file is usually httpd. conf (apache2 is/etc/apache2/apache2.conf, which will contain httpd.
Introduction: This is a detailed page for PHP custom 404 errors. It introduces PHP related knowledge, skills, experiences, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 322981 '
The AllowOverride parameter indicates whether the Apache server is located. the htacess file is used as the configuration file. If it is set to none, the server will ignore it. if the htacess file is set to All, All. all commands in the htaccess
Apache Security Configuration and apache configuration1 Security Policy 1.1 Security directory
. Htaccess is used for Directory Security protection. to read this protected directory, you must first press the correct user account and password. This
PHP implements the pseudo-static website and php pseudo-static website. PHP: how to implement pseudo-static website. php: the mod_rewrite of Apache is powerful. This module can be used to implement pseudo-static website construction. The main steps
This article mainly introduces the use of the modrewrite module to implement pseudo-static website information in PHP + APACHE. For more information, see Apache mod_rewrite, this module can be used to implement pseudo-static.
The main steps are as
Apache
Implementation of Apache user authentication under Win32
I believe that there are many kinds of verification methods, and in the WIN32 environment, how to set the Apache user authentication is very few, the manual is also described in the
Php+apache implement URL pseudo-static, Phpapache pseudo-static
Apache Mod_rewrite is relatively strong, in the construction of the site, you can use this module to achieve pseudo-static.
The main steps are as follows:
1. Detect if Apache is turned
1, set purpose, the front and back office to achieve independent directory management2. Access the foreground through http://www.myci.com, access the backstage through the Http://www.myci.com/admin,Multi-directory means that there are many sets of
Have you ever been or are you worried about how to modify a website containing thousands of pages in the shortest time? So you can take a look at the introduction of this article, which may be helpful to you.
What isSSI?
SSI is the abbreviation of
Htaccess is a convenient pseudo-static rule for friends who do not have server permissions or have one server running N sites.
. Htaccess sets the default homepage order of a website
Add the following lines to the. htaccess file:
The Code
Use rewrite to enable the mode_rewrite module of apache to support the server. set the permission for the htaccess file directory, and add it to the root directory of the website. the htaccess file determines whether the referer is the address of
Pseudo-StaticPseudo-StaticPseudo-Static page, its purpose is to better be indexed by the search engine through a certain rules, the dynamic page address into an htm or HTML end of the address, looks static, is still dynamic page. but now many CMS
Too many friends will encounter a problem, that is htaccess file conflict problem, for example, a site, the whole station is pseudo static, and is used by the virtual host, Then you have to use the. htaccess file rules to achieve, while using the
One opens the Apache configuration file httpd.conf.
Two will #loadmodule Rewrite_module Modules/mod_rewrite front of the # Remove
Three Add in httpd.conf:
Rewriteengine on
#RewriteCond%{env:script_url} (?: Index|dispbbs) [ -0-9]+\.html
Rewriterule ^
1. Create a new. htaccess file in the directory where you need to use the. htaccess file
this. htaccess file General Discuz, DEDECMS and other systems have their own
#. htaccess Rewrite rule
Rewrite ^ (. *)/archiver/((Fid|tid)-[w-]+.html) $
Detailed summary
SSI is the abbreviation of English server Side includes, translated into Chinese is the meaning that server side contains. From a technical standpoint, SSI is a command or pointer that is in an HTML file that can be invoked through
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.