search

Home  >  Q&A  >  body text

Can't create new site

After creating a new site, Nginx stops and the site cannot be accessed. After deleting this new site, the default site can be accessed again. Apache has been unable to start. The error AH00526: Syntax error on line 258 of D:/Program Files/Extensions/Apache2.4.39/conf/httpd.conf:DocumentRoot takes one argument, Root directory of the document tree is reported during startup. Then I add the folder and still get the error. When creating a new website, nginx: [emerg] invalid number of arguments in "include" directive in D:\Program Files\Extensions\Nginx1.15.11/conf/vhosts/sanhui.ltd_80.conf:20 error is reported.

P粉911039575P粉911039575920 days ago1875

reply all(1)I'll reply

  • autoload

    autoload2022-06-13 14:18:16

    Do not have spaces in the directory, D:/Program Files

    reply
    0
  • Cancelreply