Changing DocumentRoot Won't Work

I've installed Apache 2.2 as a manual server (ie, I have to open the
httpd.exe command window to use it) on Win XP Pro. The installation
works fine when I visit:

http://localhost:8080

However, I am now trying to change my htdocs root, because I keep all
my data one the E:\ partition of my HD. I have changed the following 2
lines in my httpd.conf file:

DocumentRoot E:/Documents/htdocs/bj

(I have tried the line above both with and without quotes)

<Directory "e:/documents/htdocs/bj">

I then close the httpd.exe window and reopen it -- to restart apache.

However, Apache still serves the file from the default htdocs
directory, rather than the file in "E:/Documents/htdocs/bj"

What am I still missing?

Thanks,
cpp
cppaddict [ Mi, 06 Dezember 2006 21:53 ] [ ID #1559161 ]

Re: Changing DocumentRoot Won't Work

cppaddict wrote:
> I've installed Apache 2.2 as a manual server (ie, I have to open the
> httpd.exe command window to use it) on Win XP Pro. The installation
> works fine when I visit:
>
> http://localhost:8080
>
> However, I am now trying to change my htdocs root, because I keep all
> my data one the E:\ partition of my HD. I have changed the following 2
> lines in my httpd.conf file:
>
> DocumentRoot E:/Documents/htdocs/bj
>
> (I have tried the line above both with and without quotes)
>
> <Directory "e:/documents/htdocs/bj">
>
> I then close the httpd.exe window and reopen it -- to restart apache.
>
> However, Apache still serves the file from the default htdocs
> directory, rather than the file in "E:/Documents/htdocs/bj"
>
> What am I still missing?
>
> Thanks,
> cpp

Have you cleared your browser cache?
david [ Mi, 06 Dezember 2006 22:48 ] [ ID #1559162 ]

Re: Changing DocumentRoot Won't Work

>Have you cleared your browser cache?

Yep. And I tried it on different browsers. Anything else?
cppaddict [ Mi, 06 Dezember 2006 23:31 ] [ ID #1559163 ]
Webserver » alt.apache.configuration » Changing DocumentRoot Won't Work

Vorheriges Thema: apache 2.0, mod_auth_ldap over SSL failing with can't connect ldap server
Nächstes Thema: turn of cert warning