Jun
03
2010
there are 2 files that needed to be edited in order to create virtual host on local computer .
1. apache side :
./apache/conf/httpd.conf
enable for include httpd-vhosts.conf :
Include conf/extra/httpd-vhosts.conf
./apache/conf/extra/httpd-vhosts.conf , to configure the virtual host
ex :
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot “E:/folder/to/web1/”
ServerName web1.local
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot “E:/folder/to/web2/”
ServerName web2.local
</VirtualHost>
2. windows site, for the resolving [...]
Mar
27
2010
When I bought a new PC , I need to share the internet connection I have at home .
Previously with 1 notebook at home, I just need adsl modem plug into my notebook.
But with the new PC , I need to share the internet connection using a wireless router .
After searching, my choice come to [...]
Mar
27
2010
It’s very simple to setting adsl modem with the wrt54gh.
It’s because I need to access internet when I’m in my friend’s house. But he only have 1 internet connection using telkom speedy adsl modem tp link td-8817.
So I brought my wireless router (linksys wrt54GH) and setup there.
I’ll post later how to setup an adsl modem [...]
Jul
14
2009
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
Redirect / http://www.new-address.com/
RewriteRule (.*) http://www.new-address.com/$1 [L]
</IfModule>
explanation :
Jun
26
2009
Helo,
I found this in the internet when I need to custom my 404 page . Because the default 404 page from codeigniter is so ‘default’ .
When the application can not found the page requested, it handle by the Exceptions in the codeigniter , function show_404.
You can find the file in [...]
Jun
24
2009
I found an interesting code when I’m coding.
what is difference between :
$_fx = &$a ;
with
$_fx = $a ;
The first one, we call it parsing reference, and the second one , is parsing value.
you can see the difference with this sample :
Mar
06
2009
gw kehilangan dompet beberapa minggu lalu , yg isi nya KTP, SIM A , dan SIM C . Untung gw jarang2 banget bawa kartu kredit or kartu debet di dompet kalau tidak penting.
Yang ingin gw ceritain di sini , pengalaman gw ngurus sim .
pertama2 , jelas, kita harus ke kantor polisi untuk melaporkan kehilangan, dari [...]
Mar
04
2009
Ini gw dapet dari php.net waktu gw nyari fungsi u/ mengubah character non alphanumeric ke ‘-’ .
Berguna u/ merename filename yg aneh2 atau hal2 lain :
Feb
04
2009
mobile connection is a cellular spare part distributor
Dec
02
2008
mykitchenart adalah trading company yg bergerak di bidang perdagangan alat2 home appliance .