이번에 서버를 직접 설정해보고 있습니다.

 

오류가 걸리길래 초기화하고 xe 설치하자마자 분류를 추가해보니 동일하게 발생되네요.

 

게시판 만들어서 분류 설정을 하면 아무것도 안뜨고



이렇게 뜨네요 ;;

 

php7.0 설치해봤는데.. 혹시 제가 무언가를 놓친걸까요 ? ;;

 

[XE Server Environment 2017-01-10]

realpath : /usr/share/nginx/html
location : ko
package : XE
host : http://11.111.111.111/
app : nginx/1.11.8
xe_version : 1.8.27
php : 7.0.14-2+deb.sury.org~xenial+1
db_type : mysqli_innodb
use_rewrite : Y
use_db_session : Y
use_ssl : none
phpext : core, libxml, openssl, zlib, cgi-fcgi, mysqlnd, xml, bcmath, calendar, curl, mbstring, fileinfo, ftp, gd, gettext, iconv, exif, mcrypt, mysqli, pdo_mysql, phar, readline, shmop, simplexml, sockets, sysvmsg, sysvsem, sysvshm, wddx, xmlreader, xmlwriter, xsl, zend opcache
module : adminlogging(1.7), board(1.7.2), krzip(1.8.0), seo(1.8.19), syndication(5.0.0)
addon : adminlogging(1.7), captcha_member(1.7), oembed(1.0)
layout : xe_official(1.7), xedition(1.9), user_layout(1.7)
widget : counter_status(1.7)
widgetstyle : simple(1.7)
max_file_uploads : 20
post_max_size : 8M
memory_limit : 128M

 

 

  • profile

    403 오류인것 같아요.
    로그의 문제점 부터 확인해보시는게 좋겠습니다.

  • profile

    nginx에서 rewrite 규칙을 잘못 적용하면 분류 처리에 사용되는 파일에 접근을 못 하게 됩니다. 라이믹스에서 제공하는 rewrite 규칙을 사용해 보시고, files/cache/document_category/132.xml.php에 접근하지 못하도록 하는 다른 설정이 있는지도 확인해 보세요.

  • profile
    문제 해결하였습니다 ^^; 제가 설치하는 방법 보고 따라한 곳에 nginx dafult.conf에서 추가적으로 보안사항 설정하는 부분이 있는데 그 부분을 따라했더니 생긴 오류였습니다. ;;
  • profile profile
    혹시 nginx default.conf 파일 내용 좀 알려주실 수 있나요?
    저도 똑같은 오류라서요 ㅠ
  • profile profile

    추가적인 보안 사항은 nginx.conf 파일에서 따로 conf 파일 만들고 불러오는 방법으로 했습니다.

     


    server {
    listen 80 default_server;
    server_name localhost;
    root /usr/share/nginx/html;

    server_tokens off;

    location / {
    index index.php index.html;
    }

    location ~ [^/]\.php(/|$) {
    fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    if (!-f $document_root$fastcgi_script_name) {
    return 404;
    }

    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    fastcgi_index index.php;
    include fastcgi_params;
    limit_req zone=one burst=3 nodelay;
    }

    location ~ ^/files/(attach|config)/.+\.php$ {
    deny all;
    }

    location ~* \.(jpe?g|png|gif|bmp|mp[34]|css|js)$ {
    expires 7d;
    log_not_found off;
    }

    location ~ /\.(git|js|ht) {
    deny all;
    }

    location /admin/status {
    stub_status on;
    access_log off;
    }
    }