Selasa, 13 Maret 2012
Belajar membuat web server
Kita tidak hanya mengakses informasi saja, tetapi juga mempunyai peran untuk menyajikan informasi tersebut. Untuk itu, saya berinisiatif untuk membuat web server sendiri untuk keperluan penyimpanan file-file. Saya mencoba menggunakan CentOS 6. Salah satu distro Linux ini sudah terbukti handal untuk kebutuhan server.
Penginstallan serta konfigurasi CentOS 6 dapat Anda pelajari di http://www.server-world.info/en/
Minggu, 22 Januari 2012
Getting .htaccess Files to Work on AppServ
Getting .htaccess files to work on AppServ (Windows version) a lot of peoples computers doesn’t seem to work, I myself am one of those people, so I fiddled around the other day and got it working – so hopefully if you follow this tutorial you’ll understand how to get it to work and it should work for you.
First of all if you locate your Apache folder (within your AppServ folder, usually installed directly on your C drive) and go into a folder called “conf”, then open the file called “httpd.conf”.
Find:
#LoadModule rewrite_module modules/mod_rewrite.soReplace:
LoadModule rewrite_module modules/mod_rewrite.soRemoving the ‘#’ (hash) symbol will enable the rewrite module. (Note: Some configurations are already loaded, if so ignore it)
Find:
AccessFileName .htaccessReplace:
AccessFileName my.htaccessChanging this from .htaccess to my.htaccess means that your .htaccess files will have to be called “my.htaccess” (However when you upload them to a real web server online then you’ll need to rename them back to .htaccess)
Now restart your Apache server (This can be done by going into the Apache folder, then into the “bin” folder and running the program “ApacheMonitor.exe”, opening it from the system tray and clicking “Restart”)