Home > OS >  Documentroot must be a directory
Documentroot must be a directory

Time:11-05

Start apache prompt documentroot must be a directory, Internet has many Linux solutions,
How to solve the Windows?

CodePudding user response:

Put your HTTPD. Conf stick out and have a look

CodePudding user response:


# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are seems from this directory, but
# -- symbolic links and aliases may be 2 point to other locations.
#
DocumentRoot "F:/webpage/testone"

CodePudding user response:

reference 1st floor ljc007 response:
your HTTPD. Conf posted to see

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are seems from this directory, but
# -- symbolic links and aliases may be 2 point to other locations.
#
DocumentRoot "F:/webpage/testone"
CodePudding user response:

Don't two level directory, set to the directory,
  • Related