linux4.0 apache relevant config
carefully
BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully BrowserMatch "^gnome-vfs" redirect-carefully 二. 设置个人主页
1.[root@michael ~]# vi /etc/httpd/conf/httpd.conf # UserDir disable (一定要用“#‘注释掉) UserDir public_html (去掉“#”) </IfModule> # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS> Order allow,deny (12行全部去掉“#”.表示个人主页相关权限) Allow from all </Limit> <LimitExcept GET POST OPTIONS> Order deny,allow Deny from all </LimitExcept> </Directory> [root@michael ~]# service httpd restart Stopping httpd: [ OK ] 拥有帝国一切,皆有可能。欢迎访问phome.net | phpbb_sitelist | | phpbb_smilies | | phpbb_styles | | phpbb_styles_imageset | | phpbb_styles_imageset_data | | phpbb_styles_template | | phpbb_styles_template_data | | phpbb_styles_theme | | phpbb_topics | | phpbb_topics_posted | | phpbb_topics_track | | phpbb_topics_watch | | phpbb_user_group | | phpbb_users | | phpbb_warnings | | phpbb_words | | phpbb_zebra | ---------------------------- 62 rows in set (0.00 sec)
mysql> 19.实现了LAMP结合 L- Linux A Apache M Mysql P php 20.OK ! 拥有帝国一切,皆有可能。欢迎访问phome.net |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |