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, 17:59:05

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.


Topics - indomovi

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

2
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

3
sudah dikonfirm sama pak mustafa  ;)

4
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,

5
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  :'(

6
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 ...

7
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.

8
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/

9
Indonesia Users / Help Cara Mengunakan Nginx
« on: 2014-12-03, 08:24:28 »
Selamat malam para suhu  ;D

Mau tanya neh saya sudah mengunakan Kloxo-Mr lebih dari satu tahun selama ini lancar jaya mengunakan apache sekarang mau coba pake nginx tapi ada sedikit probem  :'(  sehabis di switch program cuma tampilan home saja yang bisa di kunjungi halaman yang lain tidak  :-[ , kira-kira bagaimana yah cara memperbaikinya  :D ?

Regard
Kloxo-Mr Mania

10
Indonesia Users / [Help] Internal Server Error
« on: 2014-09-05, 23:01:57 »
Selamat Malam All  ;D

to the point aja yah saya punya server yang sudah di install Kloxo-MR kemarin baru saja di Update ke Versi 7 nah permasalannya mulai datang ketika saya coba mengunakan nginxproxy + mod_php_ruid2 website saya mengalami Internal server error. namun ketika saya swich ke Apache + php_fpm event website saya bisa kembali diakses namun masalahnya website saya membutuhkan mod_php_ruid2 sebagai php typenya. adakah dari teman-teman penguna kloxo-mr yang bisa membantu saya ....

beberapa hal yang sudah saya lakukan :

1. sh /script/fixweb
2. sh /script/fixall
3. sh /script/cleanup
4. sh /script/restart-all
5.  default apache optimize

berikut info server saya :





Mohon bantuan dan bimbingannya karena saya masih newbie  ;D

11
Indonesia Users / Minta Tolong Tambahkan Domain di Kloxo-MR
« on: 2014-06-14, 10:52:44 »
Siang All,

Saya sudah menggunakan kloxo hampir 6 bulan, saat ini kloxo saya baru menghandle 1 website saja. niat saya ingin mengunakan kloxo untuk semua website yang saya buat tetapi ketika menambahkan domain selalu muncul tulisan :

" Alert: could_not_add_mail [sh: /home/vpopmail/bin/vadddomain: Permission denied] "

saya sudah baca di forum mratwork namun belum bisa menemukan solusinya. mohon di bantu pak mustafa penjelasannya.

Regard

Eko F

Pages: [1]

Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.03 seconds with 19 queries.

web stats analysis