MRatWork Forum by Mustafa Ramadhan - .htaccess tidak berfungsi

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, 22:12:45

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- .htaccess tidak berfungsi

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: .htaccess tidak berfungsi (Read 4381 times)

0 Members and 1 Guest are viewing this topic.

#### Cyberhost Service

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

##### .htaccess tidak berfungsi

« on: 2014-06-16, 22:29:16 »
Dear MR,
saya ingin tanya kenapa pada web saya .htaccess nya tidak berfungsi yah
ErrorDocument 403 http://www.leanic.net
ErrorDocument 404 http://www.leanic.net
ErrorDocument 500 http://www.leanic.net
# RewriteCond %{HTTP_HOST} ^199\.175\.48\.183
# RewriteRule (.*) http://usx.cyberhostservice.net/$1 [R=301,L]
<Files ~ "^.*\.([Hh]`[Aa])">
order allow,deny
deny from all
satisfy all
</Files>
<Files index.php>
order deny,allow
deny from all
allow from validator.w3.org
allow from 139.195.89.23
</Files>
<Files error_log>
order allow,deny
deny from all
</Files>
# 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
### Please Don't edit these comments or the content in between. kloxo uses this to recognize the lines it writes to the the file. If the above line is corrupted, it may fail to recognize them, leading to multiple lines.
### begin content - please not remove this line
### MR -- attention
### 1. Move '#<Ifmodule !mod_php5.c>' until '#</Ifmodule>' on
### above '###Start Kloxo PHP config Area'
### 2. Remove # in front of '#<Ifmodule !mod_php5.c>' and '#</Ifmodule>'
### on point (1)
### 3. Remove # in front of 'AddHandler x-httpd-php52' to activate secondary-php
### on point (1)
### 4. Or Remove # in front of 'AddHandler x-httpd-php' to activate primary-php
### on point (1) if select suphp_worker/_event for primary-php
#<Ifmodule !mod_php5.c>
#AddHandler x-httpd-php52 .php
#AddHandler x-httpd-php .php
#</Ifmodule>
<Ifmodule mod_php5.c>
php_value upload_max_filesize 16M
php_value max_execution_time 180
php_value max_input_time 180
php_value memory_limit 64M
php_value post_max_size 32M
# php_flag register_globals Off
php_flag display_errors
php_flag file_uploads on
php_flag log_errors
php_flag output_buffering off
php_flag register_argc_argv on
# php_flag magic_quotes_gpc Off
# php_flag magic_quotes_runtime Off
# php_flag magic_quotes_sybase Off
php_flag mysql.allow_persistent off
# php_flag register_long_arrays Off
php_flag allow_url_fopen on
php_flag cgi.force_redirect on
php_flag enable_dl on
php_flag max_input_vars 3000
</Ifmodule>
### end content - please not remove this line
###End Kloxo PHP config Area
Options All -Indexes
IndexIgnore *
LimitRequestBody 10240000`
Logged
Thanks & Best regards,
Cyberhost Service – Web Hosting and Domain Services
Cyber Building 2nd Floor (R.239) | Jl. Kuningan Barat No.8 Mampang Prapatan
Jakarta Selatan, Indonesia – 12710 | Mobile : +62812 8069 0033
Email : sales@cyberhostservice.com | website : www.cyberhostservice.com

#### Cyberhost Service

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

##### Re: .htaccess tidak berfungsi

« Reply #1 on: 2014-06-16, 23:00:01 »
[root@wax ~]# sh /script/sysinfo
A. Kloxo-MR: 6.5.1.b-2014061502
B. OS: CentOS release 6.5 (Final) x86_64
C. Apps:
1. MySQL: mysql55-5.5.37-1.ius.el6.x86_64
2. PHP: php53u-5.3.28-4.ius.el6.x86_64
3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
4. Lighttpd: --uninstalled--
5. Hiawatha: hiawatha-9.6-1.mr.el6.x86_64
6. Nginx: nginx-1.7.1-1.el6.ngx.x86_64
7. Cache: --uninstalled--
8. Dns: bind-9.8.2-0.23.rc1.el6_5.1.x86_64
9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64
D. Php-type (for Httpd/proxy): php-fpm_event
E. Memory:
total used free shared buffers cached
Mem: 992 807 185 0 7 296
-/+ buffers/cache: 502 489
Swap: 2047 0 2047
Logged
Thanks & Best regards,
Cyberhost Service – Web Hosting and Domain Services
Cyber Building 2nd Floor (R.239) | Jl. Kuningan Barat No.8 Mampang Prapatan
Jakarta Selatan, Indonesia – 12710 | Mobile : +62812 8069 0033
Email : sales@cyberhostservice.com | website : www.cyberhostservice.com

#### MRatWork

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

##### Re: .htaccess tidak berfungsi

« Reply #2 on: 2014-06-16, 23:04:40 »
Periksa kembali apakah isian .htaccess sudah benar.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Cyberhost Service

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

##### Re: .htaccess tidak berfungsi

« Reply #3 on: 2014-06-16, 23:05:50 »
saya ingin minta petunjuk dari MR bagian mana yah yang salah dari .htaccess tsb ?
Saya ingin index.php nya utk sementara hanya saya yang bisa akses dari ip saya , apakah sudah betul coding nya spt itu MR ?
« Last Edit: 2014-06-16, 23:23:07 by LeaNIC »
Logged
Thanks & Best regards,
Cyberhost Service – Web Hosting and Domain Services
Cyber Building 2nd Floor (R.239) | Jl. Kuningan Barat No.8 Mampang Prapatan
Jakarta Selatan, Indonesia – 12710 | Mobile : +62812 8069 0033
Email : sales@cyberhostservice.com | website : www.cyberhostservice.com

#### MRatWork

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

##### Re: .htaccess tidak berfungsi

« Reply #4 on: 2014-06-16, 23:32:40 »
Rasanya melalui .htaccess tidak bisa untuk access-limit karena anda pakai nginx-proxy. Mestinya di-set di nginx.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Cyberhost Service

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

##### Re: .htaccess tidak berfungsi

« Reply #5 on: 2014-06-17, 07:22:11 »
Saya coba hanya pakai
ErrorDocument 403 http://www.leanic.net
ErrorDocument 404 http://www.leanic.net
ErrorDocument 500 http://www.leanic.net
<Files ~ "^.*\.([Hh][Aa])">
order allow,deny
deny from all
satisfy all
</Files>
<Files index.php>
order deny,allow
deny from all
allow from validator.w3.org
allow from 139.195.89.23
</Files>
Note : .htaccess wp sama .htaccess kloxo default tetap ikut juga tidak bisa, kenapa yah MR ? saya sudah switch program to apache dan nginx jg sama
Logged
Thanks & Best regards,
Cyberhost Service – Web Hosting and Domain Services
Cyber Building 2nd Floor (R.239) | Jl. Kuningan Barat No.8 Mampang Prapatan
Jakarta Selatan, Indonesia – 12710 | Mobile : +62812 8069 0033
Email : sales@cyberhostservice.com | website : www.cyberhostservice.com

#### GentZu

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

##### Re: .htaccess tidak berfungsi

« Reply #6 on: 2014-06-23, 02:48:12 »
saya juga pakek nginx-proxy juga gk work yg gini, memang gk bisa di fix kedepaannya ya pak?
kalau pakek hiawatha-proxy gimana?
Code: [Select]

    <FilesMatch "file1.php|file2.php|file3.php">
    Order allow,deny
    Deny from all
    </FilesMatch>

Logged

#### MRatWork

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

##### Re: .htaccess tidak berfungsi

« Reply #7 on: 2014-06-23, 04:29:40 »
Jika hanya pakai apache apa bisa jalan?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Cyberhost Service

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

##### Re: .htaccess tidak berfungsi

« Reply #8 on: 2014-06-23, 18:05:29 »
apache
ngix proxy
ngix
hiawatha-proxy
hiawatha
tidak bisa semua dan lost tidak baca .htaccess nya
Logged
Thanks & Best regards,
Cyberhost Service – Web Hosting and Domain Services
Cyber Building 2nd Floor (R.239) | Jl. Kuningan Barat No.8 Mampang Prapatan
Jakarta Selatan, Indonesia – 12710 | Mobile : +62812 8069 0033
Email : sales@cyberhostservice.com | website : www.cyberhostservice.com

#### MRatWork

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

##### Re: .htaccess tidak berfungsi

« Reply #9 on: 2014-06-23, 18:29:00 »
Coba pindahkan 'RewriteEngine On' dan 'RewriteBase /' ke bagian teratas di .htaccess. Juga jadikan '#<IfModule mod_rewrite.c>' serta '#</IfModule>' nya.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### petruk-host

- Junior Member
- Posts: 26
- Karma: +0/-0

##### Re: .htaccess tidak berfungsi

« Reply #10 on: 2014-06-24, 07:14:30 »
om untuk settingan di apache agar blokir negara tertentu gimana ya ?
Logged

#### Cyberhost Service

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

##### Re: .htaccess tidak berfungsi

« Reply #11 on: 2014-07-06, 07:47:54 »
.htaccess block negara tertentu
<Limit GET HEAD POST>
order deny,allow
deny from 81.52.168.0/23
deny from 188.138.10.163/32
deny from 188.138.78.129/32
allow from all
</Limit>
apabila salah harap di koreksi untuk lebih jelas bisa lihat di http://incredibill.me/htaccess-block-country-ips untuk ip seluruh negara
« Last Edit: 2014-07-06, 07:50:26 by LeaNIC »
Logged
Thanks & Best regards,
Cyberhost Service – Web Hosting and Domain Services
Cyber Building 2nd Floor (R.239) | Jl. Kuningan Barat No.8 Mampang Prapatan
Jakarta Selatan, Indonesia – 12710 | Mobile : +62812 8069 0033
Email : sales@cyberhostservice.com | website : www.cyberhostservice.com

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- .htaccess tidak berfungsi

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

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

Page created in 0.038 seconds with 17 queries.

Mirror created by MasterkinG32.CoM