共 5 篇文章 |
|
修改apache默认字符编码。apache打开网页乱码,修改apache默认字符集的方法如下:打开apache配置文件,linux下的apache配置文件路径一般为:/etc/httpd/conf/http.conf(默认路径安装)把AddDefaultCharset utf-8(这里也可能是其他字符集)修改成AddDefaultCharset off,也就是关掉默认使用的字符集,这样apache就可以根据网页中的meta信息来选... 阅12866 转6 评0 公众公开 11-07-27 19:31 |
NameVirtualHost *:80NameVirtualHost *:81<VirtualHost *:80> DirectoryIndex index.html index.php ServerName "www.abc.com" DocumentRoot "/srv/www/htdocs/" </VirtualHost><VirtualHost *:80> DirectoryIndex index.html index.php S... 阅1545 转4 评0 公众公开 11-07-21 08:39 |
Linux配置Apache服务器全攻略。完成安装后,配置文件在/etc/httpd/conf/目录下,文件根目录为/var/www/html,工具文件在/etc/rc.d/init.d/目录下,日志文件在/var/log/httpd/目录下。如果以上述源代码安装则配置文件保存在/usr/local/apache/conf/目录下,若以RPM包方式安装则配置文件保存在/etc/httpd/conf/目录下。服务器端代理与客户端代理不... 阅243 转1 评0 公众公开 11-07-20 20:44 |
start 启动5.日志文件在 /var/log/apache2/ <VirtualHost *:80> ServerName www.kimoqi.com DocumentRoot /home/vsftpd/kimoqi </VirtualHost> <VirtualHost *:80> ServerName www.arwenedu.com DocumentRoot /home/vsftpd/wangguan/webapps </VirtualHost> <VirtualHost *:80> ServerName www.a... 阅426 转0 评0 公众公开 11-06-19 10:21 |
linux su和sudo命令的区别linux su和sudo命令的区别来源:互联网 作者:佚名 时间:04-13 11:02:50点评:一. 使用 su 命令临时切换用户身份 1、su 的适用条件和威力 su命令就是切换用户的工具,怎么理解呢?$ suPassword:[root@localhost beinan]# pwd/home/beinan.$ su - -c ls 注:这是su的参数组合,表示切换到root用户,并且改变到root... 阅29 转自wxwd521 公众公开 11-06-19 09:59 |