macsplex.com 로그인

검색

조회 수 171 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
Extra Form

1. rewrite 모듈 점검 및 권한점검
가. apm만 설치시 모듈이 설치가 안되기 때문에 rewrite모듈을 쓰는 프로그램이면 
내부서버에러를 일으킴
해결방법 : 

1) 다음 우분투경우 다음을 실행
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart

2) debian 경우

1. a2enmod 명령어로 rewrite 모듈을 활성화 한다.

 localhost:/etc# a2enmod rewrite

 Module rewrite installed; run /etc/init.d/apache2 force-reload to enable.

 a2enmod 를 실행 할 경우는 아래와 같이 /etc/apache2/mods-available/rewrite.load 파일이 /etc/apache2/mods-enabled/ 디렉토리로 링크가 생성된다.

 localhost:/etc/apache2/mods-enabled# ls -l /etc/apache2/mods-enabled/rewrite.load

 lrwxrwxrwx 1 root root 30 Dec 12 12:02 /etc/apache2/mods-enabled/rewrite.load -> ../mods-available/rewrite.load

 a2enmod 명령을 사용하지 않고 수동으로 링크를 생성해도 된다.



2. /etc/apache2/apache2.conf 파일에 아래의 내용을 추가한다.

 

         RewriteEngine On

 



3. apache2.conf 파일의 설정부분이나, 가상호스트 설정부분의 설정 부분에서AllowOverride None 부분을 AllowOverride all로 수정한다.

       

                Options Indexes FollowSymLinks MultiViews

                AllowOverride all

                Order allow,deny

                allow from all

                # This directive allows us to have apache2's default start page

                # in /apache2-default/, but still have / go to the right place

       


4. apache 데몬 restart

 

출처 : http://faq.hostway.co.kr/xe/lnx_web/809


나. 권한에 대한 점검


2. .htaccess 파일 점검
파일자체가 숨김파일로 설정되어 있어 복사시 안될 경우가 많음
직접파일복사하거나 생성후 에러복구
2. xe문제
 ㄱ) 레이아웃문제, 로그인문제는 아래페이지 참고하여 설정
로그인이 안되는 문제는  db에 세션삭제 및 files/cache폴더에 파일전체삭제후
xe설치된폴더/files 권한변경
ex) chmod -R 777 xe설치된폴더/files
 
로그인해서 모듈업그레이드및 캐쉬파일재생성/세션제거

참고사이트 - http://www.xpressengine.com/18445192

ㄴ) 파일업로드문제
수호신패치로 보안문제로 업로드하다가 사라짐
php.ini파일에 다음줄 직접추가
suhosin.session.encrypt=Off
ps. 어떤보안문제인지가 궁금함 근본적으로 파일업로드시스템을 바꾸고싶음.. 텍스트큐브도 문제가 있어 일반업로드로 돌려났음
php.ini 설정
file_uploads = On

upload_max_filesize = 1000M

upload_execution_time = 3000

max_input_time = 300

post_max_size = 1000M

upload_tmp_dir = /home/dnavi

max_exeution_time = 0

memory_limit = 300M

display_errors = on

register_globals = On

session.cookies_lifetime = 0

session.use_only_cookies = 0

session.cache_expire = 10000

session.bug_compat_42 = 1
session.bug_compat_warn = 1

suhosin.session.encrypt=Off

3. 백업진행시 파일 여러군데 잘라서 진행
파일당 20GB를 백업하다보니 압축이 제대로 풀리지 않아 고생...
증분백업을 테스트후 진행할것임




--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------


TAG •

리눅스 Tip

Linux Tip

  1. 리눅스 ext4로 포맷

    Read More
  2. Nginx php-fpm 설정

    CategoryDebian
    Read More
  3. mysql root password 변경

    CategoryDB
    Read More
  4. debian Apache2 속도 올리기

    CategoryDebian
    Read More
  5. apache2 접속자수 확인

    CategoryApache2
    Read More
  6. debian apache2 버전확인 하는 법

    CategoryDebian
    Read More
  7. Fedora mariadb install

    Read More
  8. KVM qcow2 디스크 크기 조정

    CategoryKVM
    Read More
  9. Mysql DB 관리

    CategoryDB
    Read More
  10. CentOS 한글추가방법

    CategoryCentOS
    Read More
  11. centos mysql 암호초기화

    CategoryCentOS
    Read More
  12. CentOS APM 설치운영

    CategoryCentOS
    Read More
  13. Yum Repository CD/DVD 지정

    CategoryCentOS
    Read More
  14. CentOS7 NTFS 마운트

    CategoryCentOS
    Read More
  15. CentOS7 VNC서버 설치

    CategoryCentOS
    Read More
  16. 우분투에서 alt키를 한영키로 변환하는법

    CategoryUbuntu
    Read More
  17. 리눅스 디스크 확인 및 마운트

    Read More
  18. apache2 could not reliably determine 에러발생시

    CategoryDebian
    Read More
  19. debian 웹서버 이전할때 주의 할점 정리

    CategoryDebian
    Read More
  20. wordpress 도메인변경

    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8