I have recently installed the Apache web browser in my Debian Squeeze (using command tasksel
and selecting [ ] Web server
). Now I get it to start via sudo /etc/init.d/apache2 start
and then I go to my browser and key in http://localhost
and the "It works!" page shows up indicating that I have installed and started the web server successfully.
Now I know that the HTML file for the "It works!" page is in /var/www
and I am led to beleive that if I do create new pages, I need to stuff them into this directory. Creating pages would be easy but in doing so, I need to issue the sudo
command each and every time I create/edit a file under the /var/www
directory.
I would like to know how I can create a directory in my HOME e.g. ~/html/test/index.html
and have that page displayed when I enter the address http://localhost/html/test
in my browser address?