Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: documentroot must be a directory on windows |
|
Author |
|
harsh0608
Joined: 12 Jul 2010 Posts: 2
|
Posted: Mon 12 Jul '10 19:26 Post subject: documentroot must be a directory on windows |
|
|
Hi,
I am trying to run Apache http server 2.2.15 with PHP 5.2.13 on windows XP SP2.
When I am trying to configure virtual host I am getting DocumentRoot must be a directory error even when the directory exists.
Code: | <VirtualHost *:80>
DocumentRoot “C:/websites/example/online”
ServerName localhost
<Directory “C:/websites/example/online”>
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost> |
I've tried everything possible .. changing other config., checking forums , web but to no use.
Please see if you can help me.
Thanks,
Harsh |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 12 Jul '10 20:48 Post subject: |
|
|
Use "standard" old boring quotes and not “pretty” ones |
|
Back to top |
|
harsh0608
Joined: 12 Jul 2010 Posts: 2
|
Posted: Mon 12 Jul '10 21:08 Post subject: |
|
|
Thanks a lot. I did this mistake again. . |
|
Back to top |
|
|
|
|
|
|