Author: Tank http://hi.baidu.com/uroot 2008.1.31 Tank OriginalConfiguration:The configuration file in httpd. conf is written in the same way as that in Linux.Environment: Apache 2.2.x, Windows Server 2003 or Windows XPFirst, ensure that your apache2.2.x can be started normally and provide services. The word it works appears when ie accesses the Server HTTP.1: You need to download a
After Wamp is installed, open phpMyAdmin, which is the path http: // localhost/PHPmyAdmin/
Appears
SeeCodeI understand.
The solution is as follows:
Copy codeThe Code is as follows:
Options indexes followsymlinks Multiviews
AllowOverride all
Order deny, allow
Deny from all
Allow from 127.0.0.1
Change it
Allow from 127.0.0.1 => allow from all means to set 127. Replace 0.0.1 with all
OK, everything is done (restart Wamp if it doesn't
For example, the webpage also displays Youdon #039; thavepermissiontoaccessonthisserver. laravel is installed according to the steps on the official website, mod_rewrite is enabled, and. htaccess is also changed, which is useless. What is the root directory of the laravel framework? Why... as the question is, the page also displays You don't have permission to access/on this server.
Laravel is installed according to the steps on the official website, mod_rewrite is enabled, and. htaccess is als
file, daemon whether the user has Read permission4. You set theAccess ControlWhen we do experiments, we often turn on the virtual host configuration file:/usr/local/apache2/conf/extra/httpd-vhosts.confThis is the first virtual host (the first Default Virtual Host, about the default virtual host, it has a feature, that is, whether we configure what domain name (servername or Serveralias) or not configured, as long as we point the domain name to the machine, as long as the other virtual host does
For blog reposted, please indicate the source!
Author: Yu XiaoYu
Link: http://blog.csdn.net/zgyulongfei/article/details/8830750
Let me restore the error page first:
This mistake left me alone for a long morning. I searched for a lot of answers on the Internet, and the general solution was the same. I followed them, but the error still exists.
Then Jack helped solve the problem.
I used to put the last mile in my previous solution. I didn't know the
After installing the Wamp, open the phpMyAdmin that is the path http://localhost/phpmyadmin/
Appear
Look at the code inside, I understand.
The solution is directly mapped as follows:
The code is as follows:
Options Indexes followsymlinks MultiViews
AllowOverride All
Order Deny,allow
Deny from all
Allow from 127.0.0.1
Change it to
Allow from the 127.0.0.1 => Allow from all is the 127. 0.0.1 replaced by all
OK, it's all done (no, re
After installing the Wamp, open the phpMyAdmin that is the path http://localhost/phpmyadmin/
Appear
Look at the code inside, I understand.
The solution is directly mapped as follows:
Copy Code code as follows:
Options Indexes followsymlinks MultiViews
AllowOverride All
Order Deny,allow
Deny from all
Allow from 127.0.0.1
Change it to
Allow from the 127.0.0.1 => Allow from all is the 127. 0.0.1 replaced by all
OK, i
Later found that the original Apache is not configured Well, is the Apache Mod_authz_host module in the control role.
1. If vhosts is not enabled
Just modify httpd.conf
The default directory section is as follows, note the Red section, which indicates that directory/usr/local/apache/htdocs allows all hosts to access
Copy Code code as follows:
#
# Possible values F Or the Options directive are ' None ', ' All ',
# or any combination of:
# Indexes Includes followsym
syntax errors, which cannot be understood by the server
403 the Forbidden server received the request but refused to provide the service.
404 Not Found
The requested resource does not exist (the URL is incorrect)
For example, enter a wrong URL in IE, http://www.cnblogs.com/tesdf.aspx
500 an unexpected Error occurred on the Internal Server Error Server
503 the Server Unavailable Server cannot process clien
(temporary redirection)Indicates that the requested document has been temporarily moved elsewhere. The new URL of this document is provided in the location response header. L
304 (not modified)Indicates that the Client Cache version is the latest, and the client should continue to use it. L
403 (Forbidden)The server understands the client request but rejects it. This is usually caused by permission settings for files or directories on the server. L
4
given in the location response header. L 304 (unmodified) indicates that the client-cached version is up to date and the client should continue to use it. L 403 (Forbidden) The server understands the client request but refuses to process it. This is usually caused by permission settings for the file or directory on the server. L 404 (Not Found) the resource requested by the client is not present on the server. L 500 (internal server error) server-sid
Introduction to HTTPThe HTTP protocol is an abbreviation for the Hyper Text Transfer Protocol (Hypertext Transfer Protocol), which is used to transfer hypertext to the local browser from the World Wide Web (www:world Wide Web) server.HTTP is a TCP/IP communication protocol that transmits data (HTML files, image files, query results, and so on).How HTTP WorksThe HTTP
HTTP 1.0 vs 1.1Proxy support and the Host field:
HTTP 1.1 have a required Host header by spec.
HTTP 1.0 does not officially require a Host header, but it doesn ' t hurt to add one, and many applications (proxies) expect To see the Host header regardless of the protocol version.
Example:get/http/1.1Hos
HTTP status information, http €? /A> € €? /A> http € €
1. 1xx message
This type of Status Code indicates that the request has been accepted and must be processed.
100 Continue
The client should continue sending the request. This temporary response is used to notify the client that some of the requests have been received by the server and have not been rejected. T
http information in three HTTP messages
3.1 Message structure:
Message header + blank line (CR+LF) + message body
First content:
Request line: Used to include the requested method, request URI, and HTTP version
Status line: Contains status codes, reason phrases, and HTTP versions that indicate the result of the respo
HTTP information in HTTP messages
1. Message structure
Request message
Message header: Request line, request header field, General header field, Entity header field
Message body
Response message
Message header: Status line, Response header field, General header field, Entity header field
Message body
Request line: Requested method, URI, HTTP version
Status line:
Client-requested documentation should be extracted via the proxy server indicated by the location header (HTTP 1.1 new).307 Temporary Redirect and 302 (Found) are the same. Many browsers incorrectly respond to 302 responses for redirection, even if the original request is post, even if it is actually only redirected when the POST request is answered at 303. For this reason, HTTP 1.1 has been added 307 to f
server indicated by the location header (HTTP 1.1 new).307 Temporary Redirect and 302 (Found) are the same. Many browsers incorrectly respond to 302 responses for redirection, even if the original request is post, even if it is actually only redirected when the POST request is answered at 303. For this reason, HTTP 1.1 has been added 307 to further clear the locale code: when a 303 reply occurs, the browse
: Redirect-A further action must be taken to complete the request 4xx: Client Error-Request syntax error or request not implemented 5XX: server-side error-the server failed to implement a legitimate requestCommon Status Codes:200 OK //客户端请求成功400 Bad Request //客户端请求有语法错误,不能被服务器所理解401 Unauthorized //请求未经授权,这个状态代码必须和WWW-Authenticate报头域一起使用 403 Forbidden //服务器收到请求,但是拒绝提供服务404 Not Found //请求资源不存在,eg:输入了错误的URL500 Interna
.· The 503-service unavailable service is unavailable and the server is unable to answer due to maintenance or overloading. For example, a servlet might return 503 if the database connection pool is full. When the server returns 503, it can provide aRetry-after head. This error code is specific to IIS 6.0.· When the 504-gateway Timeout network is timeout, it is used by the server acting as the proxy or gateway, indicating that the answer cannot be received from the remote server in a timely mann
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.