Depending on the type of PHP application you may want to create an SSL virtual host instead of the standard virtual host. In general you should use an SSL virtual host whenever user authentication is involved. Good examples are SquirrelMail and PHPMyAdmin. Follow the procedures in prior chapter substituting the sub-section 6.7.3. Configure a Secure Web Server for "6.7.2. Configure a Normal Web Server" for this.