특정 계정에만 PHP 를 사용할수 있게 구성

<Directory /home/xinet/html*>
<Files  “*.html”>
   Order allow,deny
   Allow from all
</Files>
<Files  “*.png”>
   Order allow,deny
   Allow from all
</Files>
<Files  “*.htm”>
   Order allow,deny
   Allow from all
</Files>
<Files  “*.php”>
   Order allow,deny
   Allow from all
</Files>
</Directory>
위와 같이 구성시 해당 폴더(계정)에 대해서먼 php. html png 를 사용할수 있다
그밖에 모든 계정은 사용하지 못하다록 구성하려면 아래와 같이 입력
<Files  “*.cgi”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.CGI”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.CAB”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.cab”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.rar”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.alz”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.exe”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.mp*”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.mov”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.avi”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.wm*”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.as*”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.CSS”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.css”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.zip”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.PHP*”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.php*”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.HTM*”>
   Order allow,deny
   allow from all
</Files>
<Files  “*.htm*”>
   Order allow,deny
   allow from all
</Files>
<Files  “*.PNG”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.BMP”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.png”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.bmp”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.dll”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.PL*”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.TXT”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.pl”>
   Order allow,deny
   Deny from all
</Files>
<Files  “*.txt”>
   Order allow,deny
   Deny from all
</Files>

코멘트 쓰기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다.

다음의 HTML 태그와 속성을 사용할 수 있습니다:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



배송정보
배송조회를 하시려면 송장번호를 클릭하세요
배송조회
상품명
주문번호
택배사
송장번호