왜이리 마음대로 안되는건지 -_-;
이상한건 -_-; 전에는 되었는데 당일날 왜 이렇게 안되는게 많은건지 T.T
파일 첨부하게씁니다
cat httpd.conf | grep html
# (available at <URL:http://httpd.apache.org/docs-2.0/mod/core.html#lockfile>);
DocumentRoot "/var/www/html"
<Directory " /var/www/html">
# http://httpd.apache.org/docs-2.0/mod/core.html#options
ErrorDocument 403 /error/noindex.html
# The path to the end user account 'public_html 'directory must be
# must have permissions of 711, ~userid/public_html must have permissions
# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden
# To enable requests to /~user/ to serve the user's public_html
#UserDir public_html
#<Directory /home/*/public_html>
# The index.html.var file (a type-map) is used to deliver content-
DirectoryIndex index.php index.php3 index.php4 index.html index.htm
AddIcon /icons/layout.gif .html .shtml .htm .pdf
ReadmeName README.html
HeaderName HEADER.html
AddType application/x-httpd-php .php4 .php3 .phtml .php .inc .html .htm
AddType shtml .html .htm
# To parse .shtml files for server-side includes (SSI):
AddOutputFilter INCLUDES .shtml
#ErrorDocument 404 /missing.html
#ErrorDocument 402 http://www.example.com/subscription_info.html
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# default HTTP_<error>.html.var files by adding the line;
AddOutputFilter Includes html
ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
허접답변;
httpd.conf 에
AddType application/x-httpd-php .php .html .htm .inc
설정되어 있는지 보세요.
.html 이 없으면 추가해보시구요.
아직 초보라서 질문조차도 엉성할 수 있습니다.
이해하시구요.^^.
제 글을 읽어주시는 분들, 답변해주시는 분들께 항상 감사드립니다.
httpd.conf
httpd.conf에
AddType application/x-httpd-php .php4 .php3 .phtml .php .inc .html .htm
라고 써있습니다 >_<
그래도 안됩니다 T.T
당신의 가르침에 나는 무지한 나를 탓합니다
아 역시 제 답변은 허접할 수 밖에 없습니다 ㅜㅜ그럼# cat
아 역시 제 답변은 허접할 수 밖에 없습니다 ㅜㅜ
그럼
# cat httpd.conf | grep html
실행시켜서 결과값을 올려보세요.
제거랑 머가 다른지 보게요;;
아직 초보라서 질문조차도 엉성할 수 있습니다.
이해하시구요.^^.
제 글을 읽어주시는 분들, 답변해주시는 분들께 항상 감사드립니다.
httpd.conf를 함 올려보세요.. 윗분이랑 저랑 저의거 함
httpd.conf를 함 올려보세요.. 윗분이랑 저랑
저의거 함 비교해볼게요..흐흐... 초보라서 딱 뭔지 몰겟네요..비교해봐야지..
흐흐..
호호혹시..conf/ 밑에 httpd.conf에 mime타입을 지
호호혹시..
conf/ 밑에 httpd.conf에 mime타입을 지정하는 파일이 있거던요..
mime.types라구
설정부분은 없나요..^^;;
설정파일입니다 T.T
왜이리 마음대로 안되는건지 -_-;
이상한건 -_-; 전에는 되었는데 당일날 왜 이렇게 안되는게 많은건지 T.T
파일 첨부하게씁니다
cat httpd.conf | grep html
# (available at <URL:http://httpd.apache.org/docs-2.0/mod/core.html#lockfile>);
DocumentRoot "/var/www/html"
<Directory " /var/www/html">
# http://httpd.apache.org/docs-2.0/mod/core.html#options
ErrorDocument 403 /error/noindex.html
# The path to the end user account 'public_html 'directory must be
# must have permissions of 711, ~userid/public_html must have permissions
# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden
# To enable requests to /~user/ to serve the user's public_html
#UserDir public_html
#<Directory /home/*/public_html>
# The index.html.var file (a type-map) is used to deliver content-
DirectoryIndex index.php index.php3 index.php4 index.html index.htm
AddIcon /icons/layout.gif .html .shtml .htm .pdf
ReadmeName README.html
HeaderName HEADER.html
AddType application/x-httpd-php .php4 .php3 .phtml .php .inc .html .htm
AddType shtml .html .htm
# To parse .shtml files for server-side includes (SSI):
AddOutputFilter INCLUDES .shtml
#ErrorDocument 404 /missing.html
#ErrorDocument 402 http://www.example.com/subscription_info.html
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# default HTTP_<error>.html.var files by adding the line;
AddOutputFilter Includes html
ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
당신의 가르침에 나는 무지한 나를 탓합니다
우선.. 님의 /etc/mime.types파일을 확인해보세요...
우선.. 님의 /etc/mime.types파일을 확인해보세요...
거기 이런식으로 mime 타입을 지정해주거던요..
text/html html htm
대신 장담은 못하겠어요.. 흐흐.. 저도 원체 초보라서요..
mime.types
에 text/html html htm
이라고 있습니다.. 풀썩.. 어디가 잘못된건지.... 큭....T.T
당신의 가르침에 나는 무지한 나를 탓합니다
죄송함다.. 흐흐.. 그 mime.types는 상관없겟네요.슈
죄송함다.. 흐흐.. 그 mime.types는 상관없겟네요.
슈퍼 유저 코리아에서도 찾아봤는데..
거기도 질문만 있구 답변은 없더군요..흐흐..
그래도 답변드려서감사합니다
지푸라기라도 잡고 싶은 심정에 그래도 답변이라도
해주시니깐 감사드립니다^^
당신의 가르침에 나는 무지한 나를 탓합니다
아파치 한국 사이트가도 이 질문은 많은데 답은 없네요..아 글구
아파치 한국 사이트가도 이 질문은 많은데 답은 없네요..
아 글구 어떤분이.. www.xxx.xxx.xxx.xxx/index.html 은 화면이 뜨는데
www.xxx.xxx.xxx.xxx 하면 파일이 다운로드 된다고 하는군요..
그부분이면. DirectoryIndex 부분인데 님도 이런현상인가요?
php는 출력이 가능하다고 했으니 php.ini설정에서 찾아보는게 좋지
php는 출력이 가능하다고 했으니 php.ini설정에서 찾아보는게 좋지 않을까요?
제가 가지고 있는 php.ini에는
가 추가 되어있는데 이것도 한번 확인해보세요.
------------------------------
좋은 하루 되세요.
웅..아파치 한글 사이트 가보니까 답변이 몇개 있네요...이부
웅..아파치 한글 사이트 가보니까 답변이 몇개 있네요...
이부분 수정하는거랑..
AddModule mod_mime.c
mime.types 파일 수정에서
AddType application/x
html 파일들의 권한 확인해보라는거랑..
>>>>>>>>>>
저는 유닉스에 아파치를 설치하고 위와 같은 현상이 있었는데
다시 install를 하고 확인해보니 owner 와 퍼미션 문제더군요.
참고로 index.html 644 owner는 conf/httpd.conf file내에
User nobody
Group nobody
로 설정되어 있다면 1584로 owner를 바꾸고 해보세요.
>>>>>>>>>>>>>>>>> 요부분이랑요..헥헥..
자세한건... apache.kr.net에서 찾아보세요.. 건승하시길....글구 해결하시면
간단하게 메시지라도..흐흐..
헉 저는 반대로 되는데요
ㅡㅡ;
미쵸..미쵸..
참; php설치할 때 skew 오류가 나더라구요..
왜 그럴까요.>
html은 잘 보이는데
php파일은 왜 다운할려고 하는지
모듈이랑 apache랑 연결에 문제가 있을듯 한데
찾는 중 입니다.
언제나 행복한 나날 되소소..
잘 살고 있나? 자문해 봅니다.
댓글 달기