반응형

웹 서버 파일을 다운로드 하려고 하는데 404.7, 404.8 에러 발생.

가능성이 높은 원인:
  • 웹 서버에 요청 필터링이 구성되어 있으며 요청 필터링에는 서버 관리자가 특정 디렉터리에 대한 액세스를 거부할 수 있도록 하는 hiddenSegments 섹션이 포함되어 있습니다.
가능성이 높은 원인:
  • 웹 서버에 요청 필터링이 구성되어 있으며 이 요청의 파일 확장명이 명시적으로 거부되었습니다.


구글신께 물어보니 IIS 7.0 에서 요청 필터링인란게 생겼다네.
http://www.iis.net/ConfigReference/system.webServer/security/requestFiltering/hiddenSegments
ㄴ설치 및 사옹법
IIS 관리도구에서 요청 필터링 설정하게 해주는거.

근데 내 2008 ent 에서 관리도구에서 요청 필터링 아이콘이 안나와 ㅡ,ㅡ;;

그래서 그냥 ApplicationHost.config 직접 수정.
첫번째 에러 설명대로 내경운 bin 폴더의 파일을 받으려 한거기 때문에 <hiddenSegments> 부분의 <add segment="bin" /> 주석처리 하니 제대로 받을수 있네.

근데 이래버리면 전체 웹어플에 다 적용되버리니 원하는 웹어플에만 적용되게 web.config 로 지역화.
 
아래는 내가 사용한 예

<?xml version="1.0" encoding="utf-8"?>
<configuration>
 <system.web>
  <compilation defaultLanguage="c#" />
 </system.web>
 <system.webServer>
  <security>
   <requestFiltering>
    <fileExtensions allowUnlisted="true" applyToWebDAV="true">
     <remove fileExtension=".mdb" />
     <remove fileExtension=".config" />
    </fileExtensions>
    <hiddenSegments applyToWebDAV="true">
     <remove segment="bin" />
    </hiddenSegments>
   </requestFiltering>
  </security>
 </system.webServer>
</configuration>
 
remove 요소로 제거 가능.


[출처] http://kofmania.tistory.com/63

반응형

'Server' 카테고리의 다른 글

zeus webtob 설정  (0) 2011.11.07
반응형

Ajax Libraries

Each library is available via both google.load() and directly, via <script/> tag. The google.load() approach offers the most functionality and performance. In the sections that follow, we document all of the libraries that are available. For each library we list its name (as in the name used in google.load()), all of the versions that we have on hand for the library, etc.

jQuery
name: jquery
versions: 1.2.3, 1.2.6, 1.3.0, 1.3.1
load request: google.load("jquery", "1.3.1");
extras: uncompressed:true, e.g., google.load("jquery", "1.3.1", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js
path(u): http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.js
site: http://jquery.com/
note: 1.2.5 and 1.2.4 are not hosted due to their short and unstable lives in the wild...
jQuery UI
name: jqueryui
versions: 1.5.2, 1.5.3
load request: google.load("jqueryui", "1.5.3");
extras: uncompressed:true, e.g., google.load("jqueryui", "1.5", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js
path(u): http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.js
site: http://ui.jquery.com/
note: This library depends on jquery. Before loading this module, you must load jquery. e.g.:
  google.load("jquery", "1.3.1");
  google.load("jqueryui", "1.5.3");
Prototype
name: prototype
versions: 1.6.0.2, 1.6.0.3
load request: google.load("prototype", "1.6.0.3");
path: http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js
site: http://www.prototypejs.org/
script.aculo.us
name: scriptaculous
versions: 1.8.1, 1.8.2
load request: google.load("scriptaculous", "1.8.2");
path: http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/scriptaculous.js
site: http://script.aculo.us/
note: This library depends on Prototype. Before loading this module, you must load Prototype. e.g.:
  google.load("prototype", "1.6");
  google.load("scriptaculous", "1.8.2");
MooTools
name: mootools
versions: 1.11, 1.2.1
load request: google.load("mootools", "1.2.1");
extras: uncompressed:true, e.g., google.load("mootools", "1.2.1", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/mootools/1.2.1/mootools-yui-compressed.js
path(u): http://ajax.googleapis.com/ajax/libs/mootools/1.2.1/mootools.js
site: http://mootools.net/
Dojo
name: dojo
versions: 1.1.1, 1.2.0, 1.2.3
load request: google.load("dojo", "1.2.3");
extras: uncompressed:true, e.g., google.load("dojo", "1.2.3", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/dojo/1.2.3/dojo/dojo.xd.js
path(u): http://ajax.googleapis.com/ajax/libs/dojo/1.2.3/dojo/dojo.xd.js.uncompressed.js
site: http://dojotoolkit.org/
SWFObjectNew!
name: swfobject
versions: 2.1
load request: google.load("swfobject", "2.1");
extras: uncompressed:true, e.g., google.load("swfobject", "2.1", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js
path(u): http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject_src.js
site: http://code.google.com/p/swfobject/
Yahoo! User Interface Library (YUI)New!
name: yui
versions: 2.6.0
load request: load request: google.load("yui", "2.6.0");
extras: uncompressed:true, e.g., google.load("yui", "2.6.0", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/yui/2.6.0/build/yuiloader/yuiloader-min.js
path(u): http://ajax.googleapis.com/ajax/libs/yui/2.6.0/build/yuiloader/yuiloader.js
site: http://developer.yahoo.com/yui/
반응형

'Web > javascript' 카테고리의 다른 글

jsonp 사용시 주의할 점  (0) 2016.12.01
타 도메인간 iframe auto resize  (0) 2012.01.06
퀵메뉴 소스  (0) 2010.05.12
셀렉트박스 onCange에 option Element Control  (0) 2010.04.09
메모리 누수 방지  (0) 2010.04.07
반응형
이것저것 해보란 공통적인 해결책을 다 적용해 봐도 안되길래
내가 셋팅한 환경이 뭐가 다른점이 있나 고민해 보던중 jeus 웹서버를 이클립스 플러그 인으로 셋팅해 놓았던 점이다
그래서 다시 검색하던중

빌드패스 add library 에서  server runtime 에 제우스를 추가해 보았다.
해결~~ 빙고 ^^ 
반응형

+ Recent posts