Front-end Separation project, frontend project to be deployed separately to the lineFront end Take Vue.js as an example, code clone or pull to the server, compile NPM run build, at this time Build Dist folder, both static resource site root directoryConfigure the Nginx configuration file at this time as follows:server { a; server_name test.xxxx.com; / { root /home/zhangsan/www/xeditor/dist
This is a creation in
Article, where the information may have evolved or changed.
Hugo-a fast and flexible static site generator built in Golang
Hugo is a faster site Generation tool, written in go language, with a speed of at least several times faster relative to Hexo
The installation method is as follows 2 connections:http://gohugo.io/tutorials/installing-on
record can be set up as a description of a domain name and not necessarily an IP address.For example: linuxdog.com with a cname to point to linuxpig.comURL (Uniform Resource Locator) Forwarding: URL forwardingFunction: If you do not have a separate server (that is, you do not have a separate IP address) or you have a domain B, you want to access a domain A to access the content of the B domain, then you can be implemented by URL forwarding.URL forwarding can be forwarded to a directory, or even
Jekyll now-Convert plain text to static blog siteReference official website: http://jekyllcn.com/To install Ruby:Cd/usr/local/srcwget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gzTAR-XVF ruby-2.1.4.tar.gz./configure-prefix=/usr/local/ruby-2.1.4MakeMake install#Unzip the fileTar vfxz Ruby-1.9.1-p0.tar.gz#Enter the extracted folderCD Ruby-1.9.1-p0/#Compile the source code, before compiling, you should set permissions on the/usr/local/ruby-1.
The blog that was written a few days ago has a bug that causes the background to be inaccessible and found 302 issues.http://ningyuqiao.blog.51cto.com/5581274/1615552For example: Website for Http://ningyuqiao.51cto.com/bloglocation/blog/{if (-F $request _filename/index.html) {rewrite (. *) $1/index.html break;}if (-f $request _filename/index.php) {rewrite (. *) $1/index.php;}if (!-f $request _filename) {rewrite (. *)/blog/index.php; }}Site level two d
Web Site Design phase is a very important stage in the development process of the website, we only have excellent design ideas and methods in the design stage, in order to make our design of the site more efficient and stable. This article introduces some of the things we need to be aware of during the web design process, so let's take a look at the process.1. Static
site, if the user is difficult to find it, It will all be a match, and in front of the design to add SEO thinking, which will inevitably lead to major changes in the entire architecture. This is a question I will focus on when I look at the front-end separation program in terms of static Web sites.Front-end MVC discussion Here we will find that we are missing a link that is the MVC m layer model layer, the
This article mainly introduced the thinkphp realization site static method, Thinkphp provides an effective method to generate static pages, with a certain reference value, interested in small partners can refer to.
Thinkphp provides a valid way to generate static pages, as explained in the Manual of Tp2.0, 3.0 of whic
★ Welcome to The Guardian God · V Classroom, website address: http://v.huweishen.com★ Guardian God · V Classroom is a Web site dedicated to providing server instructional video for the Guardian God, updated weekly video.★ This section we will lead you: Install IIS pseudo-static• Pseudo-static refers to the dynamic files in the form of
(Xiao-qi)Set Xiaoqi = New Regexp ' Set Configuration objectXiaoqi. IgnoreCase = True ' ignores caseXiaoqi. Global = True ' Set to Full-text searchXiaoqi. Pattern = "start". +? " over "" ' Regular expressionSet matches =xiaoqi. Execute (WSTR) ' Starts execution configurationSet xiaoqi=nothingBody= ""For the Match in matchesBody=bodymatch.value ' Loop matchNext'-----------------Shangai (Xiao-qi)End Function
Call method: Body (content of the captured page, start tag, end tag)
The collection Proced
We previously wrote pseudo-static is the configuration of the Web. config. --Configure pseudo-static (URL rewrite), the Dtcms site writes pseudo-static unlike before, he is the static page and the code reality separation. http://demo.dtcms.net/Demo websiteBefore reading this
directory is generated under the directory.This directory is best chosen when git commits ignore: Echo ' site/' >>. IgnoreThe tutorial document reminds the site directory that the source code is exported to index.html and about/index.html respectively.Mkdocs Build-clean command After some documents have been removed from the source code, you can remove these documents when you execute this command.The abov
At present, there are many methods to prevent collection, first of all, introduce the common methods of collection strategy and its drawbacks and collection countermeasures:
First, the determination of an IP in a certain period of time to the site pages of the number of visits, if significantly more than the normal person browsing speed, the denial of this IP access
Disadvantages:
1, this method is only applicable to dynamic pages, such as: asp\jsp\p
URL staticStatic has always been one of the most basic SEO requirements, but nearly one or two years of SEO industry on whether it is necessary to do static has a number of conceptual changes.Why staticNow the vast majority of Web sites are database-driven, the page is generated in real-time by the program, not its on the server has a static HTML file exists. When a user accesses a URL, the program invokes
the purpose?" In fact, I can not correctly answer you to do so is feasible, but I personally think: one way, will manage users to generate static page operation permissions to the first access to users, to avoid a period of time to occupy a large number of server resources, I am afraid at this time do not want to let the site be smooth browsing (until static pag
Templates can improve the structure of your site. This article explains how to use templates to control page layouts in a Web site composed of a large number of static HTML pages, using a new feature and template class for PHP 4.
Outline:
===================================
Separating features and layouts
Avoid duplicate page elements
Template framework for
Prerequisites for the pseudo-static condition
Ensure that your space or server supports pseudo static-url rewriteOpen Dedecms pseudo static
Open Pseudo static method: Backstage-"system-" core settings found: whether to use pseudo static: Select is to determine the save.
C
Source: http://www.ido321.com/1123.html
Today get a trick: Use the. htaccess file to perform pseudo-static processing of a PHP Web site or file.
First, check whether the server supports pseudo-static processing:
You must have space support Rewrite and file parsing for. htaccess in the Site directory. Locate the
Different pseudo-static implementations of multiple PHP sites under IIS
My development environment under IIS, now I implement the pseudo-static function of PHP I have installed isapi_rewrite3 in IIS can also implement a site pseudo-static function However, if my site to othe
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.