IndexOptions
인덱싱 옵션에서 전체 파일명 출력을 해줄경우
IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=* SuppressHTMLPreamble IndexOrderDefault Ascending Name
특정 아이피 대역만 열어주고 싶은경우
Alias /repo /repo Alias /pub /pub Alias /iso /iso Alias /document /document Alias /doc /document <Directory "/repo*"> Options Indexes FollowSymLinks AllowOverride AuthConfig AuthType Basic AuthName "Repository" AuthUserFile /etc/httpd/.authusers-repo SetEnvIF X-Forwarded-For "^192.168." AllowIP SetEnvIF X-Forwarded-For "^$" AllowIP <RequireAny> Require env AllowIP Require valid-user </RequireAny> </Directory> <Directory "/document"> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> <Directory "/pub"> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> <Directory "/iso"> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
로그인하면 댓글을 남길 수 있습니다.