documentroot must directory

Want to know documentroot must directory? we have a huge selection of documentroot must directory information on alibabacloud.com

Solve the Problem of httpd. conf: DocumentRoot must be a directory Error

Today, after modifying the DocumentRoot directory of the httpd. conf file and restarting the HTTPd service, an error is reported.DocumentRoot must be a directory. At first, I thought it was a problem with my own configuration. Then I checked it and

Apache prompts DocumentRoot must be a directory

After apache prompts DocumentRoot must be a directory problem and changes DocumentRoot to/home/test/www, it prompts: Starting httpd: Syntax error on line 293 of/etc/httpd/conf/httpd. conf: DocumentRoot must be a directory www.2cto.com [root @ sl ~] #

Linux CentOs permissions lead to Apache-"DocumentRoot must be a directory" solution

The documentroot must be a directory error is frequently encountered when configuring the Apache service, and it has been a few hours since the first contact with Apache to find the cause of the error, which is generally due to selinux.SELinux

The Apache DocumentRoot point to the workaround for the Htcdoc 403 error _linux

Later found that the original Apache is not configured Well, is the Apache Mod_authz_host module in the control role. 1. If vhosts is not enabled Just modify httpd.conf The default directory section is as follows, note the Red section, which

Linux+apache start Prompt "Document root must be a directory"

Solution: Method One: Change the directory or file's policy type to httpd_sys_content_t.# chcon-r-h-t httpd_sys_content_t/www/web/You can then use the Ls-laz command to view the policy type of the file directory. Method Two: Disable SELinuxLinux

Ubuntu apache2 under the directory structure.

Under Windows, Apache's configuration file is usually only one, which is httpd.conf. But when I installed Apache2 with the Apt-get install apache2 command on Ubuntu Linux, I found that its httpd.conf (located in the/etc/apache2 directory) was empty.

Apache startup hint Document root must be a directory

Solution: Method One: Change the directory or file's policy type to httpd_sys_content_t.# chcon-r-h-t httpd_sys_content_t/www/web/You can then use the Ls-laz command to view the policy type of the file directory. Method Two: Disable SELinuxLinux

Linux changes Apache Web site Directory error: Document root must be a directory address

Linux Changes Apache Web site Directory error: Document root must be a directory fix modify DocumentRoot

An explanation of Apache's main directory and configuration file

One, Apache main configuration file CommentApache master configuration file:/etc/httpd/conf/httpd.confDefault site home directory:/var/www/html/Apache server configuration information is stored in the main configuration

An explanation of Apache's main directory and configuration file

One, Apache main configuration file CommentApache master configuration file:/etc/httpd/conf/httpd.confDefault site home directory:/var/www/html/Apache server configuration information is stored in the main configuration

Total Pages: 15 1 2 3 4 5 .... 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.