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. 2019-11-21, 04:38:59

Author Topic: .htaccess mereset sendiri setelah menjalankan script/fix-all dan restart-all -y  (Read 702 times)

0 Members and 1 Guest are viewing this topic.

Offline ar1246

  • Senior Member
  • *
  • Posts: 265
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Web Hosting | Web Design Murah
Salam Pak Mustafa
berikut ini server saya:


salah satu web harus menggunakan php 5.6 sehingga .htaccess nya sbb:
Code: [Select]
###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-php54
#SetHandler x-httpd-php55
SetHandler x-httpd-php56
#SetHandler x-httpd-php70
#SetHandler x-httpd-php71
#SetHandler x-httpd-php72
#SetHandler x-httpd-php73
</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/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
#FCGIWrapper /usr/bin/php72m-cgi .php
#FCGIWrapper /usr/bin/php73m-cgi .php
### end content - please not remove this line
###End Kloxo PHP config Area

web berjalan normal, tapi setiap saya melakukan perintah sh /script/fix-all web tidak jalan. dan ternyata .htaccess kembali ke semula tanda # yang di hapus jadi muncul sendiri
adakah cara supaya setial fix all dan juga restart all setingan .htaccess nya tidak berubah?

Terima kasih banyak pak. Semoga sehat selalu dan segala urusannya dipermudah

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Bagian mana yang anda ubah?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ar1246

  • Senior Member
  • *
  • Posts: 265
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Web Hosting | Web Design Murah
sy milih versi php nya pake ini pak
Code: [Select]
<FilesMatch \.php$>
#SetHandler x-httpd-php
#SetHandler x-httpd-php54
#SetHandler x-httpd-php55
SetHandler x-httpd-php56
#SetHandler x-httpd-php70
#SetHandler x-httpd-php71
#SetHandler x-httpd-php72
#SetHandler x-httpd-php73
</FilesMatch>
nah kalo saja jalankan fix all, ntar htaccess di bagian filematch nya jadi ada # nya lg. jd phpnya kebali ke defaultnya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Coba pelajari keterangannya, yaitu:
Code: [Select]
### 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'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ar1246

  • Senior Member
  • *
  • Posts: 265
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Web Hosting | Web Design Murah
Seperti ini kan pak?
sy milih versi php nya pake ini pak
Code: [Select]
<FilesMatch \.php$>
#SetHandler x-httpd-php
#SetHandler x-httpd-php54
#SetHandler x-httpd-php55
SetHandler x-httpd-php56
#SetHandler x-httpd-php70
#SetHandler x-httpd-php71
#SetHandler x-httpd-php72
#SetHandler x-httpd-php73
</FilesMatch>
nah kalo saja jalankan fix all, ntar htaccess di bagian filematch nya jadi ada # nya lg. jd phpnya kebali ke defaultnya

apa sebabnya karena edit d tempat, gk d copy dulu :D
« Last Edit: 2019-11-08, 02:35:55 by ar1246 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Makanya dipakai keterangan 'copy between...'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ar1246

  • Senior Member
  • *
  • Posts: 265
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Web Hosting | Web Design Murah
terima kasih pak

 


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

Page created in 0.031 seconds with 21 queries.

web stats analysis