웹 사이트에서 얻은 오류를 리디렉션하는 .htaccess 파일을 만들고 싶습니다..htaccess 파일 의견 (하우투)
이전 사이트에서 모든 페이지를 삭제했습니다. 그러나 나는 사람들이 책을 쓴 페이지가 어떤 것인지 전혀 모른다.
새로운 웹 페이지와 웹 사이트 구조는 완전히 다릅니다 ... 이전 페이지와 동일한 페이지는 아니며 index.html에서 index.php로 변경된 색인 문서가 아닙니다.
그래서 여기가
은 당신이 무엇을 할 것인지, COMMENT 및 저에게 당신의 관점을 제공하기 위해 무료로 느끼는 ... 내가 서버에 업로드 한 htaccess로 파일입니다?
아마도 과잉입니다 ...하지만 작동합니다! 여기에 파일은 다음과 같습니다
#404 - Not Found The requested URL was not found on this server
ErrorDocument 404 http://acecrodeo.com/new/01-acec.php?lang=fra
#400 - Bad Request Your browser sent a request that this server could not understand
ErrorDocument 400 http://acecrodeo.com/new/01-acec.php?lang=fra
#401 - Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
ErrorDocument 401 http://acecrodeo.com/new/01-acec.php?lang=fra
#403 - Forbidden You don't have permission to access on this server
ErrorDocument 403 http://acecrodeo.com/new/01-acec.php?lang=fra
#405 - Method Not Allowed The requested method GET is not allowed for the URL
ErrorDocument 405 http://acecrodeo.com/new/01-acec.php?lang=fra
#406 Not Acceptable
ErrorDocument 406 http://acecrodeo.com/new/01-acec.php?lang=fra
#409 Conflict
ErrorDocument 409 http://acecrodeo.com/new/01-acec.php?lang=fra
##413 - Request Entity Too Large The requested resource does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit
ErrorDocument 413 http://acecrodeo.com/new/01-acec.php?lang=fra
#414 - Request-URI Too Large The requested URL's length exceeds the capacity limit for this server
ErrorDocument 414 http://acecrodeo.com/new/01-acec.php?lang=fra
##500 - Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request
ErrorDocument 500 http://acecrodeo.com/new/01-acec.php?lang=fra
#501 - Method Not Implemented GET to URL not supported
ErrorDocument 501 http://acecrodeo.com/new/01-acec.php?lang=fra
# ------------ i am not sure the usefullness of these.. put it anyway !
#301 - Moved Permanently The document has moved URL here
ErrorDocument 301 http://acecrodeo.com/new/01-acec.php?lang=fra
#302 - Found The document has moved URL here
ErrorDocument 302 http://acecrodeo.com/new/01-acec.php?lang=fra
#303 - See Other The answer to your request is located URL here
ErrorDocument 302 http://acecrodeo.com/new/01-acec.php?lang=fra
#304 - Not Modified A cached copy will be used
ErrorDocument 304 http://acecrodeo.com/new/01-acec.php?lang=fra
#408 - Request Time-out Server timeout waiting for the HTTP request from the client
ErrorDocument 408 http://acecrodeo.com/new/01-acec.php?lang=fra
#410 - Gone The requested resource is no longer available on this server and there is no forwarding address. Please remove all references to this resource
ErrorDocument 410 http://acecrodeo.com/new/01-acec.php?lang=fra
#411 - Length Required A request of the requested method GET requires a valid Content-length
ErrorDocument 411 http://acecrodeo.com/new/01-acec.php?lang=fra
어떤 PHP 요청에 대한
내가 aaa.php (이전 파일) 및 새 파일 요청 aaa.php LANG = ENG를 요청하는 경우
를? 오류가 발생했습니다 ... 어떻게해야합니까, 리디렉션합니까?
그리고 귀하의 질문은 무엇입니까? – Gumbo
무엇을 할 것인가? – menardmam