질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

디렉토리접근권한설정 질문?

작성자 정보

  • 궁금이 작성
  • 작성일

컨텐츠 정보

본문

371 # Control access to UserDir directories.  Thefollowing is an example
    372 # for a site where these directories arerestricted to read-only.
    373 #
    374 #<Directory /home/*/public_html>
    375 #    AllowOverride FileInfo AuthConfig Limit Indexes
    376 #    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    377 #    <Limit GET POST OPTIONS PROPFIND>
    378 #        Order allow, deny
    379 #        Allow from all
    380 #    </Limit>
    381 #    <LimitExcept GET POST OPTIONS PROPFIND>
    382 #        Order allow, deny
    383 #        Deny from all
    384 #    </LimitExcept>
    385 #</Directory>
    386 <Directory/>
    387 Order Deny,Allow
    388 Deny from all
    389 </Directory>
    390
    391  <Directory/home/*/>
    392 Options IncludesNOExec SymLinkslf OwnerMatchExecCGI
    393 AllowOverride None
    394 Order allow,deny
    395 Allow from all
    396 </Directory>
    397
    398 <Directory /home/no-ua/>
    399 Order allow,deny
    400 Allow from all
    401 Deny from env=go_out
    402 </Directory>
    403
    404 #
    405 # DirectoryIndex: sets the file that Apachewill serve if a directory
    406 # is requested.
    407 #
    408 # The index.html.var file (a type-map) is used to deliver content-
    409 # negotiated documents.  The MultiViews Option can be used for the
    410 # same purpose, but it is much slower.
    411 #
    412 DirectoryIndex index.html index.htm index.php index.php3 index.cgi
    413
    414 #
    415 # AccessFileName: The name of the file to look for in each directory
    416 # for additional configuration directives. See also the AllowOverride
    417 # directive.

    971 BrowserMatch "Mozilla/2" nokeepalive
    972 BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    973 BrowserMatch "RealPlayer 4.0" force-response-1.0
    974 BrowserMatch "Java/1.0" force-response-1.0
    975 BrowserMatch "JDK/1.0" force-response-1.0
    976
    977 #
    978 # The following directive disables redirects on non-GET requests for
    979 # a directory that does not include the trailing slash.  This fixes a
    980 # problem with Microsoft WebFolders which does not appropriately handle
    981 # redirects for folders with DAV methods.
    982 # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
    983 #
    984 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
    985 BrowserMatch "^WebDrive" redirect-carefully
    986 BrowserMatch "^WebDAVFS/1.[012]"redirect-carefully
    987 BrowserMatch "^gnome-vfs" redirect-carefully
    988
    989 BrowserMatch "WebZip" go_out
    990 BrowserMatch "Teleport" go_out
    991 BrowserMatch "GetRight" go_out
    992 BrowserMatch "WebCopier" go_out
    993 BrowserMatch "NetZip Downloader 1.0" go_out
    994 BrowserMatch "Netzip-Downloader/1.0.62" go_out
    995 BrowserMatch "Teleport Pro/1.29" go_out


설정후 아파치 리스타트 하면 Syntax error on Line389  뜨는데 어떻게 해야 하나요?

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,074 명
  • 현재 강좌수 :  35,995 개
  • 현재 접속자 :  363 명