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-04-28, 01:35:53

Author Topic: Tanya Nginxproxy  (Read 5263 times)

0 Members and 1 Guest are viewing this topic.

Offline flameblue59

  • Senior Member
  • *
  • Posts: 177
  • Karma: +0/-0
    • View Profile
Tanya Nginxproxy
« on: 2017-06-15, 03:48:01 »
Pagi semuanya dan selamat menjalankan puasa juga untuk yang menjalankan.

Izin bertanya tentang .htaccess yang bug di nginxproxy. Padahal code2 htaccess yang lainnya bisa, hanya yang satu ini saja

Code: [Select]
RewriteRule ^topblog/ index.php?s=topblog
Sewaktu saya buka http://igoblogging.com/topblog/

Malah redirect ke
http://igoblogging.com/index.php/?s=topblog

Harusnya
http://igoblogging.com/topblog/

Sedangkan ada juga kode yang lainnya

Code: [Select]
RewriteRule ^newest/$ index.php?s=newestblog
Saat saya buka http://igoblogging.com/newest/.
Htaccessnya jalan, kebuka dengan url yang match.

Mohon pencerahannya, saya dari shubuh udah coba cari2 solusi tentang bug ini tapi belum ketemu. Ada yang bilang ini cache dari server. Thank you.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Tanya Nginxproxy
« Reply #1 on: 2017-06-15, 12:35:25 »
Tampilkan saja semua isi .htaccess agar jelas salahnya dimana?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline NginxHolic

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +1/-0
    • View Profile
Re: Tanya Nginxproxy
« Reply #2 on: 2017-06-15, 15:41:56 »
Untuk tahu ini disebabkan karena cache dari nginx atau tidak maka coba pastikan Apakah anda menggunakan plugin cache atau tidak, lalu coba ganti ke hiawata proxy untuk memastikan masalah karena cache.

Coba jg cek konfigurasi .htaccess anda.

Offline flameblue59

  • Senior Member
  • *
  • Posts: 177
  • Karma: +0/-0
    • View Profile
Re: Tanya Nginxproxy
« Reply #3 on: 2017-06-15, 19:28:15 »
Ini pak MR .htaccess saya

Code: [Select]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteBase /
RewriteRule ^[^/]+$ %{REQUEST_URI}/ [L,R=301]
RewriteRule ^topblog/ index.php?s=topblog
RewriteRule ^newest/$ index.php?s=newestblog [NC]
RewriteRule ^bloglist/$ index.php?s=bloglist
RewriteRule ^admin/$ admin.php
RewriteRule ^admin/managesubmission/$ admin.php?f=viewsubmission
RewriteRule ^admin/managemember/$ admin.php?f=viewmember
RewriteRule ^registration/$ index.php?s=registration
RewriteRule ^profile/edit/$ index.php?s=editprofile
RewriteRule ^addblog/$ index.php?s=addblog
RewriteRule ^manageblog/$ index.php?s=manageblog
RewriteRule ^manageblog/code/(.*) /index.php?s=manageblog&f=viewcode&id=$1
RewriteRule ^activate/(.*) /index.php?f=activate&vkey=$1 [R]
RewriteRule ^admin/blog/approve/(.*) /admin.php?f=viewsubmission&a=approve&id=$1
RewriteRule ^admin/blog/reject/(.*) /admin.php?f=viewsubmission&a=reject&id=$1
RewriteRule ^(.*)/visit/(.*) index.php?s=viewblog&id=$2
RewriteRule ^category/(.*) index.php?s=viewcategory&c=$1
RewriteRule ^author/(.*) index.php?s=viewauthor&a=$1
RewriteRule ^blogprog/ core/update.php
###Start Kloxo PHP config Area
### begin content - please not remove this line
#<IfModule mod_rewrite.c>
# ## MR -- authentically for letsencrypt for webroot-based
# RewriteRule /\.|^\.(?!well-known/) - [F]
#</FilesMatch>
### 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
#SetHandler x-httpd-php71
#</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 /usr/bin/php-cgi .php
#FCGIWrapper /usr/bin/php52m-cgi .php
#FCGIWrapper /usr/bin/php53m-cgi .php
#FCGIWrapper /usr/bin/php54m-cgi .php
#FCGIWrapper /usr/bin/php55m-cgi .php
#FCGIWrapper /usr/bin/php56m-cgi .php
#FCGIWrapper /usr/bin/php70m-cgi .php
#FCGIWrapper /usr/bin/php71m-cgi .php
### end content - please not remove this line
###End Kloxo PHP config Area

Offline flameblue59

  • Senior Member
  • *
  • Posts: 177
  • Karma: +0/-0
    • View Profile
Re: Tanya Nginxproxy
« Reply #4 on: 2017-06-15, 19:29:24 »
Untuk tahu ini disebabkan karena cache dari nginx atau tidak maka coba pastikan Apakah anda menggunakan plugin cache atau tidak, lalu coba ganti ke hiawata proxy untuk memastikan masalah karena cache.

Coba jg cek konfigurasi .htaccess anda.

saya tidak menggunakan plugin cache pak, terus saya udah coba ke hiawatha proxy tetap muncul juga errornya, saya return lagi ke nginx proxy masih sama.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Tanya Nginxproxy
« Reply #5 on: 2017-06-15, 19:34:46 »
Saya coba akses ke path yang anda berikan. Semuanya berjalan normal.

Coba hapus cache di browser anda.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline flameblue59

  • Senior Member
  • *
  • Posts: 177
  • Karma: +0/-0
    • View Profile
Re: Tanya Nginxproxy
« Reply #6 on: 2017-06-15, 19:39:56 »
Sudah bisa pak MR, kok aneh ya pak padahal sebelumnya saya coba test juga di vps windows saya & pakai anype. Tetap saja error, apa karena tadi ganti dari hiawatha proxy terus ke nginx proxy lagi ya pak?

Mohon solusinya pak MR kalau terjadi seperti ini lagi. Thank you :)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Tanya Nginxproxy
« Reply #7 on: 2017-06-15, 19:48:48 »
Saya pikir itu cache dari cloudflare dan atau ISP anda yang jadi masalah.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline flameblue59

  • Senior Member
  • *
  • Posts: 177
  • Karma: +0/-0
    • View Profile
Re: Tanya Nginxproxy
« Reply #8 on: 2017-06-15, 20:01:22 »
Iya sih pak, saya pikir juga begitu, tapi ada ga cara misalkan kita mau menghapus cache dari nginxproxy pak? Misalnya lokasi folder cachenya.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.041 seconds with 18 queries.

web stats analysis