MRatWork Forum by Mustafa Ramadhan - [ASK]Rewrite Rule di nginx

Sponsor:
Server and Web Integrator
Link:
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:

MRatWork Forum | Please login or register. | 2017-11-07, 23:52:29

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK]Rewrite Rule di nginx

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: [ASK]Rewrite Rule di nginx (Read 2265 times)

0 Members and 1 Guest are viewing this topic.

#### prandah

- Senior Member
- Posts: 343
- Karma: +0/-0

##### [ASK]Rewrite Rule di nginx

« on: 2013-02-16, 07:50:07 »
halo gimana sih cara nya untuk rewrite rule nginx di kloxo MR ini ?
dan file mana yang harus di edit ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK]Rewrite Rule di nginx

« Reply #1 on: 2013-02-16, 08:05:12 »
Pelajari file yang ada di /home/nginx/tpl dan /home/nginx/conf/globals (terutama proxy.conf dan php-fpm.conf).
Jika ada yang mau diedit maka copy file ke custom.<namefile> (misalnya proxy.conf ke custom.proxy.conf) dan kemudian edit file custom ini. Sebagai contoh, jika anda jalankan 'sh /script/fixweb' (script untuk reconfigure webserver setting) maka bila fixweb temukan custom.proxy.conf maka dia pakai itu daripada file asli proxy.conf
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### WPF

- Valuable Member
- Posts: 53
- Karma: +0/-0

##### Re: [ASK]Rewrite Rule di nginx

« Reply #2 on: 2013-02-16, 14:00:48 »
Ts udah bisa belum ??
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### prandah

- Senior Member
- Posts: 343
- Karma: +0/-0

##### Re: [ASK]Rewrite Rule di nginx

« Reply #3 on: 2013-02-16, 19:06:09 »
dereng mas, kembali ke apache hehehe
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

#### ariefewweb

- Valuable Member
- Posts: 62
- Karma: +0/-0

##### Re: [ASK]Rewrite Rule di nginx

« Reply #4 on: 2013-02-20, 23:22:38 »
Jika Wordpress permalinks = /%category%/%postname%/
dan .htaccess
Code: [Select]

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.namadomain.com$ [NC]
    RewriteRule ^(.*)$ http://namadomain.com/$1 [R=301,L]
    </IfModule>

contoh editnya gimana?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### WPF

- Valuable Member
- Posts: 53
- Karma: +0/-0

##### Re: [ASK]Rewrite Rule di nginx

« Reply #5 on: 2013-02-21, 18:44:13 »
nginx + mod-php gan hehehe ok drpd apache doank
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK]Rewrite Rule di nginx

« Reply #6 on: 2013-02-21, 19:01:49 »
Tuh dibeberapa forum tetangga lagi ramai bicara kalau CPanel kena hack.
Kalau tidak salah default CPanel kan pakai 'keluarga' mod_php sebagai default php-type. Kan banyak pemakai mereka yang 'terima jadi' pakai default saja.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### ariefewweb

- Valuable Member
- Posts: 62
- Karma: +0/-0

##### Re: [ASK]Rewrite Rule di nginx

« Reply #7 on: 2013-02-23, 04:36:25 »
Quote from: "ariefewweb"

> Jika Wordpress permalinks = /%category%/%postname%/
> dan .htaccess
> Code: [Select]

>     <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteCond %{HTTP_HOST} ^www.namadomain.com$ [NC]
>     RewriteRule ^(.*)$ http://namadomain.com/$1 [R=301,L]
>     </IfModule>

> contoh editnya gimana?

up
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK]Rewrite Rule di nginx

« Reply #8 on: 2014-11-25, 02:20:49 »
up
kebetulan sudah ada tritnya jd saya mau nanya di sini juga....
untuk versi kloxomr 7 sekarang apa bisa menggunakan toolkits seperti hiawatha menggunakan (.hiawatha)?
saya lihat ada folder /opt/configs/nginx/conf/toolkits
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK]Rewrite Rule di nginx

« Reply #9 on: 2014-11-25, 04:14:47 »
Karena 'bawaan' masing-masing. hampir tidak mungkin untuk mengimplementasikan rewrite-rule sebagaimana yang diterapkan apache atau hiawatha.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK]Rewrite Rule di nginx

« Reply #10 on: 2014-11-25, 04:36:40 »
Quote from: MRatWork on 2014-11-25, 04:14:47

> Karena 'bawaan' masing-masing. hampir tidak mungkin untuk mengimplementasikan rewrite-rule sebagaimana yang diterapkan apache atau hiawatha.

terus supaya bisa di apply ke domain tertentu apakah buat custom files di /opt/configs/nginx/conf/domains/custom.domain.com.conf ? atau di tempat lain?
terus saya jg bingung ketika misal config location / {} itu di terapkan di path mana?
« Last Edit: 2014-11-25, 04:38:26 by GentZu »
Logged

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK]Rewrite Rule di nginx

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

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.033 seconds with 17 queries.

Mirror created by MasterkinG32.CoM