Apache2 Document Root (htdocs) in Ubuntu
来源:互联网 发布:办公软件有问题 编辑:程序博客网 时间:2024/06/06 13:57
OS: Ubuntu 13.04
Apache2 version: Apache/2.2.22 (Ubuntu)
My comments:
I don't know why web develoeprs makes so complicated. It took me quite a while to figure out the jargons what'Document root', 'htdocs' are in Apache2.
1. What is 'htdocs'?
According to here, htdocs mean that Document Root. It should be specified
2. What is document root?
It is the default document place where you put the files. According to here, we should edit /etc/apache2/sites-available/default to specify what document root is. You can specify the document root for other sites, simply by copying the default to the same folder and rename it. The document Root is one directive in these types of files.
This is because the apache2 in Debian-based OSes is different from in other OS because it wants to allow more "flexibility".
The document root is NOT written in the httd.conf any more. But it creates CONFUSION!
I have no idea why they would make thing so unnatural and arbitrary for new comers.
- Apache2 Document Root (htdocs) in Ubuntu
- Fatal error: Call to undefined function session_unregister() in /usr/local/apache2/htdocs/cacti/lib/
- Redmine + MySQL + Apache2 in Ubuntu
- Ubuntu apache2
- ubuntu apache2
- Change root's password in Ubuntu
- Make Ubuntu Stay in Root Mode
- root keyboard android phone in ubuntu
- Login as Root in Ubuntu 12.04
- How to active 'root' user in ubuntu
- How to login as Root In ubuntu
- How-To: Set up SVN with Apache2 in Linux (Ubuntu)
- Document root element &...
- Soap: The root element is required in a well-formed document.
- The markup in the document preceding the root element must be well-formed
- The markup in the document following the root element must be well-formed
- The markup in the document following the root element must be well-formed.
- The markup in the document following the root element must be well-formed.
- 三极管电路分析
- 在Debian-7.1下安装Bumblebee解决双显卡发热问题
- PHP常用正则表达式汇总
- UITextField的用法
- PHP常用正则表达式汇总
- Apache2 Document Root (htdocs) in Ubuntu
- AppleScript初体验
- jquery验证手机号码、邮箱格式是否正确
- JQuery获取文本框中字符长度的代码
- JS验证邮箱格式是否正确的代码
- php生成随机产生六位数密码的代码
- jquery 循环显示div的示例代码
- 学习 C++的用途,(前辈总结)
- 深入浅出4G标准:LTE FDD和LTE TDD