共 5 篇文章
显示摘要每页显示  条
修改apache默认字符编码。apache打开网页乱码,修改apache默认字符集的方法如下:打开apache配置文件,linux下的apache配置文件路径一般为:/etc/httpd/conf/http.conf(默认路径安装)把AddDefaultCharset utf-8(这里也可能是其他字符集)修改成AddDefaultCharset off,也就是关掉默认使用的字符集,这样apache就可以根据网页中的meta信息来选...
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...
Linux配置Apache服务器全攻略。完成安装后,配置文件在/etc/httpd/conf/目录下,文件根目录为/var/www/html,工具文件在/etc/rc.d/init.d/目录下,日志文件在/var/log/httpd/目录下。如果以上述源代码安装则配置文件保存在/usr/local/apache/conf/目录下,若以RPM包方式安装则配置文件保存在/etc/httpd/conf/目录下。服务器端代理与客户端代理不...
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...
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...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部