I configured apache to run an intranet site, I added the following directive to my httpd.conf file. (By the way, I had to use 'sudo vim httpd.conf' to actually edit it - thou i had write permissions - i wonder why!)
I create a index.html for the HDP folder and it was fine till then. (By the way, I added hdp.com in hosts pointing to 127.0.0.1). I then created an images folder and placed and image. But when I tried to use this image in my html page - it didn't show up.
Any help would be much appreciated.
Thank you!
Code:
<Virtualhost *:80>
DocumentRoot /users/sj/WebProjects/HDP
ServerName hdp.com
</VirtualHost>
I create a index.html for the HDP folder and it was fine till then. (By the way, I added hdp.com in hosts pointing to 127.0.0.1). I then created an images folder and placed and image. But when I tried to use this image in my html page - it didn't show up.
Any help would be much appreciated.
Thank you!