虚拟主机配置文件httpd-vhosts.conf中,需要加入<Directory/mysqldata/www>AllowOverrideAuthConfig</Directory>然后在虚拟主机的主目录,即DocumentRoot目录下vi/mysqldata/www/.htaccess加入AuthName"frankshareweb"AuthTypeBasicAuthUserFile/mysqldata/www/.ht..
分类:
Web程序 时间:
2015-04-10 11:40:28
阅读次数:
151
在打开某些应用时,在terminal弹出了一个warning WARNING: gnome-keyring:: couldn't connect to: /home/username/.cache/keyring-XXXXXX/pkcs11: No such file or directory 这个...
分类:
系统相关 时间:
2015-04-10 08:18:35
阅读次数:
247
在打开某些应用时,在terminal弹出了一个warning
WARNING: gnome-keyring:: couldn't connect to: /home/username/.cache/keyring-XXXXXX/pkcs11: No such file or directory
这个错是你的系统存在多个桌面的时候,你现在不在gnome桌面下,但是引用了某些gnome的组...
分类:
系统相关 时间:
2015-04-10 01:22:04
阅读次数:
180
Let eclipse use your java vm directly!Put these lines at the end of eclipse.ini (located in the directory where eclipse.exe is present):-vm/bin/javaw....
分类:
编程语言 时间:
2015-04-09 21:34:27
阅读次数:
138
[Apache]#yuminstall-yhttpd#mkdir-p/data/www/html#vim/data/www/html/test.htmlhelloworld#vim/etc/httpd/conf/httpd.confDocumentRoot"/data/www/html"<Directory"/data/www/html">Requireallgranted</Directory><IfModuledir_module>DirectoryIndexindex..
分类:
Web程序 时间:
2015-04-09 17:54:36
阅读次数:
173
常见问题:1 出现java.lang.UnsatisfiedLinkError: /usr/local/lib/libjzmq.so.0.0.0: libzmq.so.1: cannot open shared object file: No such file or directory异常原因是未...
分类:
其他好文 时间:
2015-04-08 23:01:31
阅读次数:
442
#vim/etc/httpd24/httpd.conf
PidFile"/var/run/httpd/httpd.pid"
LoadModulephp5_modulemodules/libphp5.so
DocumentRoot"/web/htdocs"
<Directory"/web/htdocs">
#vim/web/htdocs/index.php#里面的内容是摘抄的
<metahttp-equiv="Content-Type"content="text/html;c..
分类:
数据库 时间:
2015-04-08 16:51:40
阅读次数:
347
1.如果访问自己的php网页遇到forbidden就说明权限受限了2.通过directory指令来进行权限的配置。默认的一个权限配置,directory指令具体解释3.在辅助文件中使用directory指令4.具体写成这样5.在浏览器中打开时,可以配置默认情况下打开首页,index.html或ind...
分类:
其他好文 时间:
2015-04-08 01:01:18
阅读次数:
148
在源码安装mysql5.7系列时,出现如下错误:错误现象:CMakeErroratcmake/boost.cmake:76(MESSAGE):Youcandownloaditwith-DDOWNLOAD_BOOST=1-DWITH_BOOST=<directory>ThisCMakescriptwilllookforboostin<directory>.Ifitisnotthere,itwilldownloadandunpackit(intha..
分类:
其他好文 时间:
2015-04-07 20:16:54
阅读次数:
129
在源码安装mysql5.7系列时,出现如下错误:错误现象:CMakeErroratcmake/boost.cmake:76(MESSAGE):Youcandownloaditwith-DDOWNLOAD_BOOST=1-DWITH_BOOST=<directory>ThisCMakescriptwilllookforboostin<directory>.Ifitisnotthere,itwilldownloadandunpackit(intha..
分类:
其他好文 时间:
2015-04-07 20:15:14
阅读次数:
178