logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: documentroot must be a directory on windows
Author
harsh0608



Joined: 12 Jul 2010
Posts: 2

PostPosted: Mon 12 Jul '10 19:26    Post subject: documentroot must be a directory on windows Reply with quote

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.

Neutral

Thanks,
Harsh
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 12 Jul '10 20:48    Post subject: Reply with quote

Use "standard" old boring quotes and not “pretty” ones
Back to top
harsh0608



Joined: 12 Jul 2010
Posts: 2

PostPosted: Mon 12 Jul '10 21:08    Post subject: Reply with quote

Thanks a lot. I did this mistake again. Sad .
Back to top


Reply to topic   Topic: documentroot must be a directory on windows View previous topic :: View next topic
Post new topic   Forum Index -> Apache