Colleagues see http://ip/a This URL address, request to change to access a directory, URL address is http://ip,b directory is soft link in a directory, also require access to a directory is Apache identity authentication, and access to http://ip/ b
Installation article (Windows platform)
* Install the PHP environment. The Zend Framework (ZF below) requires PHP 5.1.4+ to function properly. If you have installed the PHP environment, skip this step. Under Win, I recommend using WAMP as the
This article discusses how to completely eliminate the Warning:cannot add header information-headers already sent in ... This is a puzzling mistake.
As long as you have written PHP code, I believe you have encountered this most of the time is not
1, create MySite test site: django-admin.py startproject MySite
2, create test page: hello.py, the contents are as follows:
From django.http import HttpResponse
def index (Request):
Return HttpResponse (' Hello, django! ')
3, create
directory under new. htaccess below is the code. See for yourself!
The code is as follows
Copy Code
Rewriteengine onRewritebase/Redirect Permanent/Your directory address http://www.111cn.net
Of course, it can
System environment: Windows Apache 2.2
Load Rewrite module:
Found in httpd.conf in the Conf directory
LoadModule Rewrite_module modules/mod_rewrite.so
This sentence, remove the front annotation symbol "#", or add this sentence.
Allow the ".
Open the httpd.conf file in the Conf folder under the Apache directory and find
The code is as follows
Copy Code
Options FollowSymLinksAllowOverride NoneToOptions FollowSymLinksAllowOverride All
Remove the
. Detailed details of htaccess configuration
1. Open Mod_rewriteWill #loadmodule Rewrite_module modules/mod_rewrite.soThis line of the # get rid of
2. Modify Httpd.conf1 Your Site directory configuration in theAllowOverride None to allowoverride
Three kinds of Apache Rewrite URL configuration methods
Scenario 1: Simplest, do not configure ApacheUri Effect: PHP tutorial/subject/4843637/">http://movie.example.com/index.php/subject/4843637/
Case: MediaWiki
Todo
Scenario 2: Configure Apache
Wampserver has been downloaded and there is time to try running thinkphp locally.
The controller class can be defined for each module under the App/lib/action/folder, a module can contain multiple action methods, and when requested, the current
Secure PHP Security Configuration
Date Created: 2001-11-12 update: 2003-08-06
Article Properties: Original
Article Source: http://www.xfocus.net
Article submission: san (san_at_xfocus.org)
Finishing: San
Version: 0.02
Date Created:
Worry-Free online project management (www.5upm.com) is an online project management service provided by the Zen Development team, which provides the functionality of the professional version of Zen software, with the built-in subversion and Git
installation
1. First download PHP 5.2.5 (http://www.php.net/downloads.php)
The PHP installation path in this article takes c:\php
2. Download and get php-5.1.2-win32.zip, directly all to the C:\php\ directory can be php file storage directory c:
The CI default rewrite URL is similar to this, for example, your CI root directory is under/codeigniter/, and your below level two URL is similar to this http://localhost/CodeIgniter/index.php/welcome. Not very good-looking, how to take out the
In the use of PHP file upload operation, you need to know how to control the upload file size settings, and file size is subject to a variety of factors, is summarized as follows:
1, Php.ini:upload_max_filesizeThe maximum size of the uploaded file.
1. How to get your own local Apache server support. htaccess
How do I get my local Apache server to support ". htaccess"? In fact, simply modify the Apache httpd.conf settings to allow Apache support. htaccess, take a look at the operation.
Open
method One:
First open the http.conf file under the Apache Conf. Open the comments of the virtual host: The following removes the # in front of the second line
# Virtual Hosts
# Include Conf/extra/httpd-vhosts.conf
Open the httpd-vhosts.conf file
I installed the Ubuntu 9.10, through the new software package management tool, select lamp by Task classification, then choose Install, enter http://localhost in the browser , you can see
It works!
This is the default Web page to this server.
The
Server | Introduction First, Preliminary preparation Apache2 (WIN32) fully modular installation Perl,php,ssl
1. An installed WIN2000 server, note: If you have IIS installed on your machine, disable all Web sites in IIS or change the port to
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.