Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 10:21:54

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - indomovi

Pages: [1] 2
1
Market Places / Thread Closed
« on: 2018-12-13, 06:09:31 »
Thread Closed :)

2
Hi,

as you know in Kloxo-MR even if we use nginxproxy but we can choose between pure nginx or nginxproxy by selected front-end (pure nginx) or back-end (nginxproxy) in Web Features -> Web Selected

if we use back-end everything works well but when we get a high traffic than the website becoming slow.


3
Hi Kloxo-MR Members,

I use wordpress with NGINX and php70m but i have a problem regarding $_GET params in WP-Api, i have searched in google and found that i have to change try_files in nginx conf "/opt/configs/nginx/conf/globals/example.com.conf" from:

try_files $uri $uri/ /index.php

to

try_files $uri $uri/ /index.php$is_args$args;

but this solution is not working, when i try to go to this page https://www.example.com/user-answer/?u=18 the server redirect me to homepage https://www.example.com (302)

i have also tried this type of try_files but no one is working

try_files $uri $uri/ /index.php$is_args$query_string;
try_files $uri $uri/ /index.php?$args;
try_files $uri $uri/ /index.php?$query_string;
try_files $uri $uri/ /index.php?q=$request_uri;
try_files $uri $uri/ /index.php$is_args$args;

info from google:
https://serverfault.com/questions/231578/nginx-php-fpm-where-are-my-get-params
http://v2.wp-api.org/guide/problems/#query-parameters-are-ignored
https://github.com/WP-API/WP-API/issues/540


My Kloxo-MR

[root@server01 ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017082302
   - Web: hiawatha-10.6.0-f.1.mr.el6.x86_64
   - PHP: php56s - 5.6.31-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) x86_64
   - Hostname: server01.example.com
C. Services:
   1. MySQL: MariaDB-server-10.0.32-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.31-1.ius.centos6.x86_64
        - Multiple:
          * php52m - 5.2.17-102.mr.el6
          * php53m - 5.3.29-1.ius.centos6
          * php54m - 5.4.45-1.ius.centos6
          * php55m - 5.5.38-1.ius.centos6
          * php56m - 5.6.31-1.ius.centos6
          * php70m - 7.0.21-1.ius.centos6
          * php71m - 7.1.8-2.ius.centos6
      - Used: php56m-fpm
      - Multiple: enable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: ulyaoth-nginx-pagespeed-1.11.33.0-1.el6.x86_64
     - Apache: httpd24u-2.4.27-1.ius.centos6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.16-1.el6.x86_64
     - PowerDNS: pdns-4.0.3-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.5-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch

4
sudah dikonfirm sama pak mustafa  ;)

5
terima kasih banyak pak mustafa  ;D

6
Indonesia Users / Cara convert htaccess wordpress ke nginx
« on: 2016-03-24, 05:37:45 »
Selamat siang,

mau tanya saya punya website wordpress pakai apache, sekarang mau coba pakai nginx, tapi saya binggung cara convert htaccessnya. file htaccees saya seperti ini :

Code: [Select]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
###Start Kloxo PHP config Area

### begin content - please not remove this line

### MR -- using php version different with default php
### 1. Using suphp
### - Copy between '#<FilesMatch \.php$>' to '#</FilesMatch>' and
###   then remove '#' from '#<FilesMatch', '#</FilesMatch>' and one of '#SetHandler'

#<FilesMatch \.php$>
#SetHandler x-httpd-php
#SetHandler x-httpd-php52
#SetHandler x-httpd-php53
#SetHandler x-httpd-php54
#SetHandler x-httpd-php55
#SetHandler x-httpd-php56
#SetHandler x-httpd-php70
#</FilesMatch>

### OR

### 2. Using fcgid
### - Copy from '#Options' to '#FCGIWrapper' and
###   then remove '#' for one of '#FCGIWrapper'

#Options +ExecCGI
#<FilesMatch \.php$>
# SetHandler fcgid-script
#</FilesMatch>
#FCGIWrapper /home/kloxo/client/php.fcgi .php
#FCGIWrapper /home/kloxo/client/php52.fcgi .php
#FCGIWrapper /home/kloxo/client/php53.fcgi .php
#FCGIWrapper /home/kloxo/client/php54.fcgi .php
#FCGIWrapper /home/kloxo/client/php55.fcgi .php
#FCGIWrapper /home/kloxo/client/php56.fcgi .php
#FCGIWrapper /home/kloxo/client/php70.fcgi .php

### end content - please not remove this line

###End Kloxo PHP config Area

sedangkan file php-fpm_standard.conf  saya seperti ini :

Code: [Select]
    ### MR -- just enough remove # below for enable nginx cache
    fastcgi_cache fcache;
    #fastcgi_cache_valid 200 1h;
    #fastcgi_cache_valid 301 1h;
    #fastcgi_cache_valid 302 1h;
    #fastcgi_cache_valid any 1m;
    ## for microcache
    fastcgi_cache_valid 200 10s;
    fastcgi_cache_use_stale updating;
    fastcgi_max_temp_file_size 1M;

    fastcgi_cache_key "$scheme$request_method$host$request_uri";
    add_header X-Micro-Cache $upstream_cache_status;

    ## MR - increasing upload size to 64M (declare inside 'location /' not work
    client_max_body_size 64M;
    client_body_buffer_size 128k;

    fastcgi_connect_timeout 600s;
    fastcgi_send_timeout 300s;
    fastcgi_read_timeout 300s;
    fastcgi_buffer_size 128k;
    fastcgi_buffers 8 128k;

    fastcgi_request_buffering off;

    ### MR -- must be using nginx with including ngx_purge_cache
    ### must be using special nginx (nginx with ngx_purge_cache include
    location ~ /purge(/.*) {
        ### MR -- just enough remove # below for enable purge_cache
        #proxy_cache_purge pcache "$scheme://$host$1$request_method";
        allow 127.0.0.1;
        deny all;
    }

    ### MR -- for userdir (access with http://ip/~user)
    location ~ ^/~(.+?)(/.*)?$ {
        if (!-f /home/$1/public_html/$2) {
            rewrite ^ 404;
        }

        alias '/home/$1/public_html$2';
        #autoindex on;
    }

    location ~ \.php$ {
        try_files $uri =404;

        #include fastcgi_params;

        #fastcgi_pass                      127.0.0.1:$var_fpmport;
        fastcgi_pass                      unix:/opt/configs/php-fpm/sock/$var_phpselected-$var_user.sock;
        fastcgi_index                     index.php;

        fastcgi_param  REDIRECT_STATUS    200;
        fastcgi_split_path_info           ^(.+\.php)(/.+)$;

        fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
        fastcgi_param  PATH_INFO          $fastcgi_path_info;
        fastcgi_param  PATH_TRANSLATED    $document_root$fastcgi_path_info;
 
        fastcgi_param  QUERY_STRING       $query_string;
        fastcgi_param  REQUEST_METHOD     $request_method;
        fastcgi_param  CONTENT_TYPE       $content_type;
        fastcgi_param  CONTENT_LENGTH     $content_length;
 
        fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
        fastcgi_param  REQUEST_URI        $request_uri;
        fastcgi_param  DOCUMENT_URI       $document_uri;
        fastcgi_param  DOCUMENT_ROOT      $document_root;
        fastcgi_param  SERVER_PROTOCOL    $server_protocol;
 
        fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
        fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;
 
        fastcgi_param  REMOTE_ADDR        $remote_addr;
        fastcgi_param  REMOTE_PORT        $remote_port;
        fastcgi_param  SERVER_ADDR        $server_addr;
        fastcgi_param  SERVER_PORT        $server_port;
        fastcgi_param  SERVER_NAME        $server_name;

        fastcgi_param  PHP_ADMIN_VALUE    'sendmail_path=/usr/sbin/sendmail -t -i';
        fastcgi_param  PHP_ADMIN_VALUE    'sendmail_from=$var_domain';
    }

    location / {
        ## MR -- move to ~lxcenter.conf
        #limit_conn addr 25;

        try_files $uri $uri/ /index.php;
    }

    location ~ ^/cgi-bin/.*\.(cgi|pl|py|rb) {
        gzip off;

        include fastcgi_params;

        fastcgi_pass 127.0.0.1:$var_fpmport;

        fastcgi_index cgi-bin.php;

        fastcgi_param SCRIPT_FILENAME /home/httpd/cgi-bin.php;
        fastcgi_param SCRIPT_NAME /cgi-bin/cgi-bin.php;
        #fastcgi_param X_SCRIPT_FILENAME /usr/lib$fastcgi_script_name;
        fastcgi_param X_SCRIPT_FILENAME $var_rootdir$fastcgi_script_name;
        fastcgi_param X_SCRIPT_NAME $fastcgi_script_name;
    }

maaf yah master klo pertanyaannya agak newbie banget,

7
Indonesia Users / Re: Cara Install mod_h264_streaming
« on: 2015-11-07, 10:14:55 »
akhirnya dapet wangsit pak ..

yum install httpd-devel
wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
cd mod_h264_streaming-2.2.7
./configure --with-apxs=/usr/bin/apxs
make
make install



8
Indonesia Users / Re: Cara Install mod_h264_streaming
« on: 2015-11-07, 06:32:56 »
masih menunggu wangsit  :D

9
Indonesia Users / Re: Cara Install mod_h264_streaming
« on: 2015-11-06, 16:59:26 »
iya pak mustafa saya coba semua tutorial di google pasti stuck di ./configure --with-apxs=/usr/bin/apxs atau ./configure --with-apxs=`which apxs2`oia pak agar kita tinggal ketik yum install mod_h264_streaming caranya seperti apa ?

10
Indonesia Users / Cara Install mod_h264_streaming
« on: 2015-11-06, 16:07:04 »
Selamat malam para master,

Newbie mau nanya ada yang tau cara Install mod_h264_streaming untuk apache klo untuk  mod_flvx kan tinggal "yum install mod_flvx". coba cari di google masih belum berhasil  :'(

11
Indonesia Users / Re: Cara Install nginx rtmp module
« on: 2015-05-31, 07:48:52 »
saya sudah install tengine, tapi website jadi tidak bisa di akses pak jadi saya kembalikan lagi ke nginx, kemudian saya coba ikuti tutorial ini https://github.com/arut/nginx-rtmp-module tapi selalu gagal saya coba ./configure --add-module=/path/to/nginx-rtmp-module selalu ada tulisan ./configure no such file or directory

12
Indonesia Users / Cara Install nginx rtmp module
« on: 2015-05-17, 07:17:29 »
Selamat siang para master,

mau tanya ada yang tau cara install nginx rtmp module di kloxo-mr, mohon bantuannya yah ...

13
Indonesia Users / tanya tentang swap
« on: 2015-04-24, 22:31:34 »
Selamat malam,

mohoh bantuaanya yah, kenapa swap di server saya selalu naik rata-rata 25mb/harinya, kejadiannya baru 4 hari ini setelah saya install transmission di server.

14
Indonesia Users / Help Cara instal mod_xsendfile for Apache2
« on: 2014-12-04, 00:08:44 »
Dear Master,

Bagaimana cara instal mod_xsendfile for Apache2 di kloxo-mr ?

info : https://tn123.org/mod_xsendfile/

15
Indonesia Users / Re: Help Cara Mengunakan Nginx
« on: 2014-12-04, 00:05:34 »
sudah saya coba dan masih sama, mungkin saya pake apache aja dulu

Pages: [1] 2

MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.031 seconds with 21 queries.

web stats analysis