Why won't my local Apache open html pages? -
so, i'm running apache on laptop.
if go "localhost", page says,
if can see this, means installation of apache web server software on system successful. may add content directory , replace page.
except, can't add content , replace page.
i can click on links, , works fine.
first of all, there's not "index.html" document in directory. if try directly access 1 created localhost/index.html, "the request url not found on server." so, i'm not sure page coming from. i've searched words in page under apache directory, , nothing turns up. seems redirect somewhere.
just test, know loads localhost/manual/index.html (doesn't matter is) tried replace i've written, , received message
the server encountered internal error or misconfiguration , unable complete request.
the error log says,
[fri sep 12 20:27:54 2008] [error] [client 127.0.0.1] syntax error in type map, no ':' in c:/program files/apache group/apache2/manual/index.html header \r\n
but, page works fine if open directly browser.
so, basically, don't know don't know here. i'm not sure apache looking for. i'm not sure if error in config file, html page, or what.
oh, , reason want open using apache (mainly) because i'm trying test php, i'm trying apache run locally.
thanks.
"by default, pages should placed in "c:\program files\apache group\apache2\htdocs" folder apache 2.0 , "c:\program files\apache software foundation\apache2.2\htdocs" folder apache 2.2. when site ready, delete existing files in folder , replace them want test."
from here.
Comments
Post a Comment