Obviously! we can point apache server to pick our code files from another location other then www or htdocs. Also we can configure the url for our project folder.
Lets take a look how.
Step 1. Look for the file httpd.conf (this can be found under your apache installation folder inside conf directory)