i have installed apache1.3.27 and now i trying to configure httpd.conf

i have one virtualhost in this virtualhost root directory is file
index.html

when i type http://127.0.0.1 i get the error
"you dont have permission to access /index.html on this server"

i only want to now what i must configure in httpd.conf and how

can any help ????

thanks for helping

    I had this problem once or twice before, but the only way I could solve it was to reinstall the server.

    Obviously this is not the best thing to do, so if anyone has any less drastic solution I'd also like to hear it.

      Have you changed your document root? If so, you must change the directory as well. On Apache2.0.43 the default root is [apache root]/htdocs/. You will find the changes in [apache root]/conf/httpd.conf file, lines 305 and 330. After that you will be able to pull up http://localhost as whatever page you want.

      Remember that if you are using index.php as your document, to add that in the DirectoryIndex on line392.

        i type chmod 0777 /mydir but nothing helps,
        after that i restarted my apache server and all is ok,

        but this is strange to me, on windows i doesnt this situation ...

          Write a Reply...