This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Options -MultiViews | |
| RewriteEngine On | |
| RewriteBase /SIPERPU-CI/ | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^(.+)$ index.php?url=$1 [QSA,L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo service isc-dhcp-server start | |
| sudo iptables -P FORWARD ACCEPT | |
| sudo iptables --table nat -A POSTROUTING -o wlan0 -j MASQUERADE | |
| echo 'berhasil...' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen [port]; | |
| server_name [web url]; | |
| access_log [access_log_location]; | |
| error_log [error_log_location]; | |
| root [where_to_serve from]; | |
| index index.html index.php; | |
| # If file is an asset, set expires and break |