Dave Shuck in his post got a intersting section. Customize the connector. Reference link . That is great post. I follow that idea further and paste my terminal shots and procedures as described.
Now, customize Apache connector. Be sure about the present working directory at each command.
saffrongeek@saffrongeek-laptop:$ sudo gedit /etc/apache2/httpd.conf
Copy lines below starting with #JRun
# JRun [...]