Rifqi Belajar

Lagi corat coret buku, belajar menulis....

Wiring StepUp Transformer

Wiring connection of main transformator st18

Maintain of solenoid

Pengecekan solenoid, termasuk kebersihan, kondisi membran, seal, dsb.

Anto sedang memeriksa trafo

Pengecekan connection bus koneksi input auxiliary transformator...

PLANT CCPP

..... Power Plant Combine Cycle 135 MW .....

Thermocopel

..... Thermocopel Thrust Bearing Type K .....

Saturday 8 November 2014

KESALAHAN SAAT JALANKAN LOCAL WEB DI LINUX OPENSUSE 13.2


Pengalaman ERROR SAAT JALANKAN LOCAL WEB DI LINUX OPENSUSE13.2, setelah googling sana sini, akhirnya ketemu solusinya.

1. ERROR :
Not Found
The requested URL /localhost/..... was not found on this server.

Solusi:
aktifkan mod_rewrite di mesin linux opensuse.
user root:
Edit file /etc/sysconfig/apache2 (saya pake editor gedit)
    1. Cari APACHE_MODULES, dan akan menemukan kalimat seperti di bawah:
      APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl socache_shmcb userdir php5 reqtimeout authn_core authz_core”
    2. Tambahkan “rewrite” <tanpa tanda kutip> diakhir kalimat sebelum akhir tanda kutip (“)
      APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl socache_shmcb userdir php5 reqtimeout authn_core authz_core rewrite
    3. Simpan dan Keluar.
    4. Start ulang apache: systemctl restart apache2.service.

Sekarang, mod_rewrite sudah aktif.
Jalankan, web local server, ternyata muncul error ke 2:

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.

Error 403




Solusi di mesin Linux OpenSuse 13.2:

Buka dengan editor kesukaan anda: /etc/apache2/default-server.conf
Tambahkan kode dibawah ini di akhir konfigurasi.


<Directory "/srv/www/htdocs/detik">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted
</Directory>

Restart ulang apache: systemctl restart apache2.service
Semoga Error sudah hilang.