新手 Ubuntu系统环境搭建LAMP服务
-
- 帖子: 98
- 注册时间: 2009-05-31 0:44
-
- 帖子: 51
- 注册时间: 2005-12-13 19:40
Re: 新手 Ubuntu系统环境搭建LAMP服务
请问如何更改 apache的默认 网页目录。改到 例如、/home/myname/www/ 下
- yearful
- 帖子: 108
- 注册时间: 2009-10-19 20:41
- 来自: 哈尔滨
Re: 新手 Ubuntu系统环境搭建LAMP服务

I am what i am because of who we all are。oO
http://www.freeearth.org.cn/
[url]ttp://wiki.ubuntu.org.cn/UbuntuSkills[/url]
http://www.freeearth.org.cn/
[url]ttp://wiki.ubuntu.org.cn/UbuntuSkills[/url]
- link_01
- 帖子: 1024
- 注册时间: 2008-11-05 13:24
Re: 新手 Ubuntu系统环境搭建LAMP服务
根据ubuntu的安装位置和习惯:
cat /etc/apache2/mods-enable/dir.conf
而且文件类型在/etc/mime.types
grep html mime.types && grep httpd mime.types
cat /etc/apache2/mods-enable/dir.conf
代码: 全选
<IfModule mod_dir.c>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>
grep html mime.types && grep httpd mime.types
代码: 全选
application/xhtml+xml xhtml xht
application/vnd.pwg-xhtml-print+xml
application/x-httpd-eruby rhtml
application/x-httpd-php phtml pht php
text/html html htm shtml
text/x-server-parsed-html
application/x-httpd-eruby rhtml
application/x-httpd-php phtml pht php
application/x-httpd-php-source phps
application/x-httpd-php3 php3
application/x-httpd-php3-preprocessed php3p
application/x-httpd-php4 php4
笔记
-------------------------------------
http://blog.163.com/wqt_1101
-------------------------------------
http://blog.163.com/wqt_1101
-
- 帖子: 93
- 注册时间: 2009-06-12 10:02
Re: 新手 Ubuntu系统环境搭建LAMP服务
成功安装,却无法进入,原来才知道,默认的目录是在/var/www里,
真的是少见多怪了!现在已经搞定了!
真的是少见多怪了!现在已经搞定了!
-
- 帖子: 9
- 注册时间: 2010-10-30 22:13
- jjgmdj
- 帖子: 17
- 注册时间: 2008-08-19 12:12
Re: 新手 Ubuntu系统环境搭建LAMP服务
lz 搭建完后,怎么才能让外网访问到本机的服务器呢 而且我又是用路由连网的 能不能介绍些文章呀~~
-
- 帖子: 1
- 注册时间: 2017-02-21 16:16
- 系统: ubuntu