index.php가 뜨질안네요
안녕하세요..
아파치1.3.29와 PHP4.3을 새로 깔았습니다
예를들어 babo라는 계정에 public_html안에 index.html이라는 파일을 생성후 아이피/~아이디 를 치면 index.html이 보입니다
근데 index.html을 지우고 index.php를 만들어 봤습니다
근데 아이피/~아이디를 하면 뜨지를 않네요
아이피/~아이디/index.php를 해야 보입니다
이거 왜이렇데요??
httpd.conf에서 AddType application -php 어쩌거..이런거 추가도 해줬는데..
쩌비 ㅠㅠ
방법이 없을까요..
//제 httpd.conf의 일부분입니다
AddLanguage no .no
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .sv
AddLanguage cs .cz .cs
AddLanguage ru .ru
AddLanguage zh-TW .zh-tw
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
#
# Just list the languages in decreasing order of preference. We have
# more or less alphabetized them here. You probably want to change this.
#
<IfModule mod_negotiation.c>
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
</IfModule>
#
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-httpd-php .php .htm .html
AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
# Despite the name similarity, the following Add* directives have nothing
# to do with the FancyIndexing customization directives above.
#
AddEncoding x-compress .Z
DirectoryIndex 에 php를 넣어주세요.[code:1]
DirectoryIndex 에 php를 넣어주세요.
----
자신을 이길 수 있는자는
무슨짓이든 할수있다..
즉..무서운 넘이란 말이지 ^-_-^
나? 아직 멀었지 ㅠㅠ
댓글 달기