모니위키 디렉토리 권한설정

peccavi의 이미지

안녕하세요.

모니위키를 설치했는데요, 궁굼한게 있어서 여쭤봅니다.

계정 관련 데이터가 wiki/data/user 에 존재한다면,

모니위키를 인스톨 한 뒤 따로 설정을 안해주면 웹에서 아무 사용자나 user 디렉토리 내용을 볼수 있는걸로 알고 있습니다.

moniwiki.sf.net이나 kldp.net에서 검색해본 바로는 http.conf와 .htaccess 파일 설정으로 간단하게 처리할수 있다고 하는데요, 아파치에 대한 이해가 없어서, 따라해도 잘 안되는것 같습니다. 또 어디에서 본 글은 디렉토리 억세스가 빈번해지기 때문에 .htaccess 파일 사용을 권장하지 않고 있구요..

일반 유저가 wiki/data/user의 내용을 볼수 없게 하려면 어떻게 해야되나요..

답변 부탁드립니다.

futari의 이미지

제 경우에는 아무런 설정을 해주지 않았는데
웹에서는 해당 경로로 접근할 수 없습니다.
secure.sh인가. 이게 해주는건가요?
htaccess는 구글링으로 쉽게 하실 수 있으리라 생각됩니다.
아파치에 대한 이해는 사실 필요 없을 정도라고 보셔도 됩니다.

-------------------------
The universe is run by the complex interweaving of three elements: matter, energy, and enlightened self-interest.
- G'kar, Babylon 5

peccavi의 이미지

답변 감사합니다.

위키 뿐만 아니라, 웹서비스를 돌려보는게 처음이라, 이것저것 만지느라 잘 안됐었나 보네요..

차근차근 다시 해보겠습니다~ :D

----
jai guru deva om...

futari의 이미지

아... 그러시군요.

그렇다면 한글 튜토리얼도 있으니 참고하시기 바랍니다. (htaccess를 쓰시려면..)

http://httpd.apache.org/docs-2.1/ko/howto/htaccess.html

모니위키 쓰시는 분들이 많을텐데 (저도 모니위키 쓴지가 얼마 되질 않아서요 :) )

이 문제에 대해서 잘 아는 분이 계시면 답변을 좀...

전 잘 되는걸로 봐서 다른 문제가 있을 듯 한데요.

그냥 권한 설정으로 되지 않나요?

secure.sh를 실행하지 않으셨다면 한번 실행 해 보세요.

(방금 secure.sh 까보니 여기서 다 해주는 것 같습니다. 한번 보세요.)

-------------------------
The universe is run by the complex interweaving of three elements: matter, energy, and enlightened self-interest.
- G'kar, Babylon 5

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.