I'm now setting up a weblog site and encountered this problem.
My server is Apache httpd 2.2. In case my weblog pollutes the root directory(htdocs
), I created a subdirectory blog
. The current state is that I can access the root directory from outside with http://my_ip_address/
; it shows It works.
.
However, when I access the URL http://my_ip_address/blog
, the server does not respond. I think there must be something wrong with the configuration. After searching Google, I find .htaccess
may be the point, which is missing in the blog
directory. Am I on the right track? By the way, what does .htaccess
used to do?
Could you please give me a reference as a starting point?