issues with DocumentRoot
Posted by: caley (70.55.151.---)
Date: September 24, 2006 07:13AM

On installation i opted for a different directory other than /wamp/www i actually selected the following for my DocumentRoot:

DocumentRoot "C:/Documents and Settings/Administrator/My Documents/My Websites"

(i just copied and pasted that from my httpd.conf file)

Weird thing is when i try to open files in my code editor the address will appear like this:

[localhost] Websites/etc/etc/index.html and i get a 404 page not found message.

but according to my httpd.conf file the addresses should appear like this:

[localhost]

weird eh?!

any suggestions?

thanks,
caley.


Options: ReplyQuote
Re: issues with DocumentRoot
Posted by: caley (70.55.151.---)
Date: September 24, 2006 07:20AM

Well i just figured it out.

i had to change the server mappings in the code editor... for some reason it was set on a directory higher than my DocumentRoot as defined in httpd.conf

thought i would document this here in case anyone might benefit from this solution.

Just go in to your editor settings and look for server mappings.... make sure it points to the same place as your DocumentRoot as defined in httpd.conf

later,
c.

Options: ReplyQuote


Sorry, only registered users may post in this forum.