Linux is case sensitive. The following section shows how to make aparch case insensitive.Http. conf The code is as follows:Copy code Load mod_speling module: LoadModule speling_module/usr/lib/apache2/modules/mod_speling.soEnabling module:
Recently on the Mac with the Thinkphp development project, and then was written on the windows, directly installed a WAMP package, now with the Mac, and then the Mac comes with PHP and Apache, but due to its strict authority mechanism, There is no
After installing Apache, you can enter http: // localhost in the browser to test.
Change the root directory of the first site:Find the DocumentRoot attribute in the file apache2.2 \ conf \ httpd. conf, and change the following path to the path of
As a prerequisite, I have placed the page_404,html page in the root directory, and the input 127.0.0.1/page_404.html can be opened
Now the problem is that I follow many of the online tutorial settings that don't work at all
Many online say
Correct distinction between mod_deflate and mod_gzip is called gzip. In fact, in earlier versions of apache1.x, there was no built-in web page compression technology. Therefore, gzip compression is required. during official development of apache2,
For ISPs that provide public network services, we recommend that apache and php use the public settings with minimum permissions for security reasons. the PHP extension of ApacheVirtualhost can be used to meet the special security performance
Recently prompted a loophole that exposes Apache, Nginx, and PHP version numbers. Now, let's do this in the following way:
First of all, Apache.
Add the following two lines to the http.conf file, which is not the default
Serversignature
Apache
Frequent users of the Internet will encounter this situation: When accessing some of the site's resources, the browser pops up a dialog box that asks for a user name and password to gain access to the resource. This is a technology of user
Enter the root user through the command line
Open the/etc/apache2/ports. conf file to check whether port 443 is registered.
If
Listen 443.
Indicates that you have registered the instance.
Check whether the SSL module is loaded
Run apache2ctl-D
First, let's explain why Apache and tomcat need to be connected. In fact, Tomcat itself already provides the HTTP service. The default port of this service is 8080. After Tomcat is installed, you can directly use the application run by Tomcat
Make Apache support ASP. NET
Apache is a widely used network server program. It is widely used not only on UNIX/LINUX platforms, but also on Windows platforms .. NET is a powerful development technology launched by Microsoft. Its goal is to compete
[Author: Zhang banquet this article version: V1.0 last modified: 2007.09.10 reprint please indicate the source: http://blog.s135.com]
1. If Apache is not installed. During compilation, add -- enable-Deflate. For example: (for Linux only, this step
Document directory
1.1 Apache configuration httpd-vhosts.conf (in Windows as an example)
1.2 browser settings (taking Firefox as an example)
1.3 access results
2.1 Apache settings
2.2 browser access Effect
1. Forward proxy
Configuring the
1. Create a password file:
# Htpasswd-C/usr/local/apache2/CONF/htpasswd. Users AdminNew Password: 123456Re-type new password: 123456# Enter the password as prompted. For example, it can be 123456
# The user name and password are created
1. Download and decompress
: Http://windows.php.net/download/
Download: vc9 x86 thread safe (21:16:12), zip version, otherwise there is no php5apache2_2.dll file.
Php5apache2_3.dll cannot be configured for the moment! No solution found yet ~
1. install necessary software Reference
I am using apahce2.0.61 and can directly bind OpenSSL Apache.
The file name is: apache_2.0.61-win32-x86-openssl-0.9.7m.msi
Otherwise, it is troublesome to install OpenSSL on Windows separately. You can
Windows
Install
Mod_python for ApacheToday, I started to study the Web framework under python, found mod_python, Django, cherrypy and other architectures, learned about each of them, and installed them separately for testing, next we will summarize
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.