Changing DocumentRoot Doesn't Work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"

I have cleared my cache and tested on 2 different browsers.

What am I still missing?

Thanks,
Jonah


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux