Deploy the Django-developed project to the APACHE2 server. Log my configuration process.The Apache,django,mod_wsgi,python version is as follows. Different versions are similar.II apache2 2.2.22-1ubuntu1.6
Finally, we installed LAMP with apt-get in Debian. Previously, we used CentOS for compilation and installation, which was faster than now, but the memory usage was not optimized, there is no time for further research... After installing yum, it is
Need to turn on the Apache2 rewrite module1. Open/etc/apache2/apache2.confChange allowoverride None in the file to allowoverride all2, modify the mods-enable configuration, add a software linkcd/etc/apache2/mods--S. /mods-avaiable/rewrite.load
HTTP Standard protocol has a dedicated field record Referer, one can be traced back to the last inbound address is what, and secondly for the resource file, you can trace to include the display of his web address is what.So all anti-theft chain
1. Create in the/etc/apache2/mods-enabled directory Ln-s. /mods-available/rewrite.load Rewrite.loadRewrite.load. /mods-available/rewrite.load Contents of the Rewrite.load fileLoadModule rewrite_module/usr/lib/apache2/modules/mod_rewrite.so
1. Install apache2 under Ubuntucommand for sudo apt-get install apache2,Apache2 is a modular software that relies on the apache2.conf file to link the functions of each module .after the installation is complete, the apache2.conf configuration file
Between management introduction
Apache Module Mod_rewriteAn engine that describes a real-time rewrite URL request based on a certain ruleState extension (E)Module name Rewrite_moduleSource file mod_rewrite.cCompatibility is available only in Apache
The Mode Rewrite module of Apache provides a Rewrite engine based on regular expression analyzer to Rewrite URL requests in real time.
Manager Introduction
Apache module mod_rewriteDescribes an engine for real-time URL rewriting requests based on
The Apache mode rewrite module provides a rewrite engine based on the regular expression parser to rewrite URL requests in real time. In most cases, it is used in conjunction with the. htaccess file. For example, the URL of this article
The Apache mode rewrite module provides a rewrite engine based on the regular expression parser to rewrite URL requests in real time. In most cases, it is used in conjunction with the. htaccess file. For example, the URL of this article
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.