Enable register_globals in one virtual host

one of my client wanna install prestashops. They want register globals off and session autostart setting to off. Those setting only applied to their store only, not affect whole setting. Because I have setting to httpd.conf I just add two lines : <VirtualHost 222.124.140.27 > ServerAdmin webmaster@clientdomain.com DocumentRoot /home/clientname/public_html/store ServerName store.clientname.com php_flag register_globals off php_value …

More

Learning .htaccess : 101 way

My friend got suprised when he see login page on phpmyadmin. It’s not usual form for login as he used to login for. Well, another postfixadmin admin page also show login page. He ask  me to list all tutorial around .htaccess to show for his learning study. Like I did in Cisco Lab Topology, Cisco …

More

1610 temperature violation detected

New server arrive, HP proliant ML 350 G4 P . With four SCSI HD. ready to replace our old email server Just a problem that arise with heatsink that prompt message " 1610 temperature violation detected " sighhh… wait more than 5 minutes for cold the machine has no impact. A few result from google …

More

Modify Server Banner with mod_security

Apache/2.2.4 (Win32) PHP/5.2.1 Microsoft-IIS/6.0 Apache GWS/2.1 Yes, my friend like to collect what server that run with specific domain. Such online tools exist in internet like : Netcraft Untroubled Using these tools, server can be "guest" but how accurate this information and whats this information for? just for fun, nothing else I just try mod_security …

More

No more 192.168.1.1, avoid it in your network!

Sigh… I hate 192.168.1.1 Since a lot of router or access point built in ip configured for 192.168.1.1 by default Same ip make ipconflict and make my day ruined Message for other newbie don’t use 192.168.1.1 as ip for your server use other ip like : 192.168.1.112 or 192.168.1.252 it’s safer from 192.168.1.1 get it …

More

Testing mail() function with agrosoft mail server 2

In my last post I have introduce about Agrosoft mail server (AMS) . Since this day isn’t end yet, I’ll start by word “Lets continue today lesson” I start by opening MS-Frontpage then make simple form mail which generate HTML code for me and I save it as contact.htm Code in send_mail.php : <?php mail(“alamster@localhost”,”Form …

More

Testing mail() function with agrosoft mail server …

Soon or later every people who learn php will meet PHP lovely function for sending email mail() Unfortunately many beginner who install only PHP, MYSQL and Apache in windows don’t know how to test their email script like contact form, mailing list etc. Today, I’ll show how to install mail server software available in internet …

More

OpenBSD 4.0 is Out

I just realized that today is November 1 and a few big thing release : Openbsd 4.0 is out Freebsd 6.2 reach it’s Beta3 Pfsense 1.01 out Code Igniter release new update 1.5.0.1 ( very active development ) My Freebsd 6.1 need upgrade and so my openbsd box ( 3.7) I still new in CI …

More

Add fancy alias for your localhost or 127.0.0.1

A few student in my class ask me how to change default address for testing php script from http://localhost or http://127.0.0.1 into some real name like derick.com or google.com while they offline at home and no internet connection availabe at home . After googling for /etc/hosts equivalent finaly I got the answer, still related name …

More

Easy PHP Installer , XAMPP or WAMP ?

In my recent study to help me study PHP5, I’m looking forward for “easy php installer” that can help me to code in PHP4 (production) and then easily change to PHP5 (learning OOP). I used to use Appserv in my laptop or office PC but now it can’t help me any longer with PHP5 and …

More

Do You Use PHP5 in Production?

PHP 5 is getting mature , last version according to php.net is 5.1.6 but still many people (specially me) tend not to use in production scale . Why ? 1. As newbie , I’m afraid of OOP PHP 5 support “real OOP” , person who has background with C++ or Java or Delphi has no …

More