Re: Windows 7 DocumentRoot directive not working

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

 



Hi,

Assuming you restarted apache after changing the httpd.conf..

What output do you get from:
httpd.exe -S
sc query | find /i "apache"
tasklist /fi "Imagename eq httpd.exe" /svc

HTH

Kind regards/met vriendelijke groet,
Serge Fonville
http://www.sergefonville.nl

Convince Google!!
They need to add GAL support on Android (star to agree)
http://code.google.com/p/android/issues/detail?id=4602



2011/10/19 Robert Waligora <bmw929500@xxxxxxxxx>:
> I installed Apache 2.2.21 on Windows 7 machine. Test "It Works" page is
> displayed. I changed the following in httpd.conf:
>
> DocumentRoot "e:/webroot/"
> <Directory "e:/webroot/">
>
> I created "webroot" folder on e drive (also tried with c drive and without
> ending slash).
> Put a sample index.html file in that folder with a different message (i.e.
> not "It Works").
> Restarted the Apached service, but still get the "It Works" message. I opend
> my new index.html file will a browser to verify that there are no errors
> with the html code.
> I made sure that the is only 1 "DocumentRoot" directive in the httpd.conf
> file.
>
> Access.log file shows that get requests are coming in.
> Error.log file doesn't show any error messages
>
> Any ides?
> --
> Robert Waligora ~ http://www.waligora.com
> Cell Phone: 440-941-2262 (new cell phone number)
> Home Phone: 440-519-0733
>

---------------------------------------------------------------------
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