.htaccess 파일이 사라집니다 > 십년전오늘

십년전오늘

10년전 추억의 책장을 넘기며

.htaccess 파일이 사라집니다 정보

.htaccess 파일이 사라집니다

본문

왜이러는지 모르겟네요
mysql php연결안되서 연결하고
gd없어서 설치하고
이제 되나 싶었는데

.htaccess 파일이 자꾸 없어집니다.

에디트플러스로 저장해도 없어지길래..
하드에 복사해놓고 .httaccess 파일을 업로드했는데 올리면 0.5초있다가 다시 없어집니다.

mod rewrite 설치된거 확인했구요. module검사해도 설치되었다고 나오고 phpinfo에서도 설치되었다고나옵니다

ls -a 해도 안보입니다.
그냥 깔끔히 사라저 버립니다.
다른 서버는 다 갠찮은데 지금 설정하는 서버만 이래요 이거 아시는 분 도와주세요

댓글 전체

vsftp를 사용하신다면

conf 화일 여셔서 ...

 설정 부분에서 .htaccess 업로드 금지 화일로 설정되어 있는지 확인해 보십시요.

설정상에 아마도 업로드 금지 화일로 설정 되어 있는듯 합니다.
httpd.conf에서 냄새나는 부분을 찾앗는데 이거 어떻게 수정해야 하죠?

# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>
네 vsftp 맞습니다.
근데 ftp에서는 안보이는데 ls -a 하면 보입니다. 아깐안보였느데 만다지보니가 보여요.
파일은 존재하는거 같은데 FTP상에서는안보이구요
다른서버에서 동작하던 rewrite 를 그대로 올렸는데 동작을 안합니다 ㅠ

vi ./vsftpd.conf
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
"./vsftpd.conf" 119L, 4435C
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
음 역쉬 히든 -_-ㅋㅋ;;

mod_rewrite 모듈이 올라 오셨다면 ...

httppd.conf 에서
mod_rewrite 모듈을 사용할수 있게 설정해 주세용 ^^;;

http://jaesoo.kr/blog/study/?no=468 링크 참조 하세용 --ㅋㅋ;; 밤이 되어서 설명하기가 영 ;;;

좋은꿈 꾸세요~~~~~~~~~
아 드디어 해결... 관심가져주신 분 감사합니다.
httpd.conf 만 100번은 수정한거같네요.

DocumentRoot "/home/playcast/"
에서 끝에 슬러시 뺴고 DocumentRoot "/home/playcast"

<Directory "/home/playcast/www">
Options FollwSymLinks
AllowOverride FileInfo
</Directory>

아휴 이걸로6시간 걸리다닝 ㅠ
전체 92
십년전오늘 내용 검색

회원로그인

진행중 포인트경매

  1. 참여87 회 시작24.04.12 12:32 종료24.04.19 12:32
  2. 참여50 회 시작24.04.12 12:32 종료24.04.19 12:32
(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT