<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>蜗牛的家 &#187; apache</title>
	<atom:link href="http://www.genepeng.cn/index.php/category/technic/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://www.genepeng.cn</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 14:52:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>xdebug调试php，断点不起作用</title>
		<link>http://www.genepeng.cn/index.php/274</link>
		<comments>http://www.genepeng.cn/index.php/274#comments</comments>
		<pubDate>Thu, 02 Sep 2010 04:01:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[php perl ruby]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.genepeng.cn/?p=274</guid>
		<description><![CDATA[在xp上装了eclipse和VMware, 在VMware上装了redhat, 在redhat上装了apache,php,xdebug,在php.ini里配置xdebug如下： zend_extension=/usr/lib/php/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so xdebug.remote_enable=On xdebug.remote_autostart=On xdebug.remote_handler=dbgp xdebug.remote_host=xx.xx.xx.xx xdebug.remote_port=9000 xdebug.remote_mode=req 然后在eclipse里设置断点，发现断点不起作用，直接所有的代码一次性运行完了，到xdebug官网仔细看了下配置的说明，　原来xdebug.remote_host并不是apache所在服务器的IP,　而是远程调试机的IP，　我的情况，也就是xp的ip,　而不是VMware上redhat的IP，可原来我却把xx.xx.xx.xx配成了redhat的IP, 修改xx.xx.xx.xx为xp的IP，重启apache,　一试，果然单步调试成功了。]]></description>
		<wfw:commentRss>http://www.genepeng.cn/index.php/274/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>install_driver(Oracle) failed: Can&#8217;t load `&#8230;/DBD/Oracle/Oracle.so&#8217; for module DBD::Oracle</title>
		<link>http://www.genepeng.cn/index.php/259</link>
		<comments>http://www.genepeng.cn/index.php/259#comments</comments>
		<pubDate>Thu, 15 Apr 2010 03:05:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[php perl ruby]]></category>

		<guid isPermaLink="false">http://www.genepeng.cn/index.php/259</guid>
		<description><![CDATA[Description This section is from the &#34;Practical mod_perl &#34; book, by Stas Bekman and Eric Cholet . Also available from Amazon: Practical mod_perl Here&#8217;s an example of the full error report that you might see: install_driver(Oracle) failed: Can't load '/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.8.0: cannot open shared object file: No such file or directory at [...]]]></description>
		<wfw:commentRss>http://www.genepeng.cn/index.php/259/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>配置apache让用户登录</title>
		<link>http://www.genepeng.cn/index.php/208</link>
		<comments>http://www.genepeng.cn/index.php/208#comments</comments>
		<pubDate>Mon, 12 Oct 2009 06:14:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[技术]]></category>

		<guid isPermaLink="false">http://www.genepeng.cn/index.php/208</guid>
		<description><![CDATA[安装配置svn时得到了启发，当用户访问某页面时，如果要让用户输入用户名和密码，可以配置如下： &#60;Location /XXX&#62; &#160; AuthType Basic &#160; AuthName &#34;AUTH NAME&#34; &#160; AuthUserFile /etc/auth-file &#160; Require valid-user &#60;/Location&#62; auth-file可以通过htpasswd生成， 也可以通过这个命令增加用户： 如 htpasswd -cm /etc/svn-auth-file gene htpasswd -m /etc/svn-auth-file pgj 我的svn在httpd.conf里的配置如下： &#60;Location /svn&#62; &#160; DAV svn &#160; SVNPath /var/svn &#160; AuthType Basic &#160; AuthName &#34;Subversion repository&#34; &#160; AuthUserFile /etc/svn-auth-file &#160; Require valid-user &#60;/Location&#62;]]></description>
		<wfw:commentRss>http://www.genepeng.cn/index.php/208/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>perl写cgi之helloworld</title>
		<link>http://www.genepeng.cn/index.php/146</link>
		<comments>http://www.genepeng.cn/index.php/146#comments</comments>
		<pubDate>Wed, 12 Aug 2009 04:25:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[php perl ruby]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[perl写cgi之helloworld]]></category>

		<guid isPermaLink="false">http://www.genepeng.cn/index.php/146</guid>
		<description><![CDATA[用perl写cgi和c/c++写cgi差不多，请参照我的上一篇文章c/c++写cgi之helloworld 这里只说明了怎么用perl写一个cgi的helloworld程序 创建新文件hello.pl, 内容如下： #!/usr/bin/perl print &#34;Content-type: text/html\r\n\r\n&#34;; print &#34;Hello World!\n&#34;; 用命令chmod 777 hello.pl使hello.pl可执行 copy hello.pl到 cgi-bin目录下 在浏览器里打http://localhost/cgi-bin/hello.pl就可以看到结果了 另外，我发现并不需要在httpd.conf 的 AddHandler cgi-script .cgi后面加 .pl也是可以的。]]></description>
		<wfw:commentRss>http://www.genepeng.cn/index.php/146/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c/c++写cgi之helloworld</title>
		<link>http://www.genepeng.cn/index.php/145</link>
		<comments>http://www.genepeng.cn/index.php/145#comments</comments>
		<pubDate>Wed, 12 Aug 2009 02:51:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[c c++]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[c/c++写cgi之helloworld]]></category>

		<guid isPermaLink="false">http://www.genepeng.cn/index.php/145</guid>
		<description><![CDATA[最近比较闲，所以又回头来学习下c/c++, 但看来看去也没什么好学的，没什么项目，光学一门语言确实没什么好看的，那就来用c/c++写个cgi来玩玩吧，之前没做过cgi，所以这样就既可了解cgi又可复习c/c++了。 先来个c/c++的cgi hello world吧，本人是在apache下运行的啊 新建文件hello.c #include &#60;stdio.h&#62; main() { &#160;&#160;&#160; printf(&#34;Content-type:text/html\n\n&#34;); &#160;&#160;&#160; printf(&#34;Hello,World!&#34;); } 用命令$gcc –o hello hello.c 生成 hello 然后查看apache配置文件httpd.conf, 设置为：[默认的差不多就是这样] ScriptAlias /cgi-bin/ &#34;/var/www/cgi-bin/&#34; &#60;Directory &#34;/var/www/cgi-bin&#34;&#62; &#160;&#160;&#160; AllowOverride All &#160;&#160;&#160; Options ExecCGI &#160;&#160;&#160; Order allow,deny &#160;&#160;&#160; Allow from all &#60;/Directory&#62; 然后把生成的hello复制到 /var/www/cgi-bin/下，如果修改了配置的话，就先重起apache, 这时输入http://localhost/cgi-bin/hello,就应该可以看到结果了]]></description>
		<wfw:commentRss>http://www.genepeng.cn/index.php/145/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache找不到mysql.dll</title>
		<link>http://www.genepeng.cn/index.php/135</link>
		<comments>http://www.genepeng.cn/index.php/135#comments</comments>
		<pubDate>Fri, 07 Aug 2009 07:33:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[mysql oracle ldap]]></category>
		<category><![CDATA[php perl ruby]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.genepeng.cn/?p=135</guid>
		<description><![CDATA[在windows xp下安装了apache和php, php能够正常工作。但不能用php连接mysql, 查看apache的error.log发现了：PHP Warning: PHP Startup: Unable to load dynamic library &#8216;C:/software/php-5.2/ext/php_mysql.dll&#8217; &#8211; The specified module could not be found.\r\n in Unknown on line 0 赶紧查看配置文件吧：&#8212;&#8211; php.ini extension_dir = &#8220;C:/software/php-5.2/ext/&#8221; extension=php_mysql.dll 在C:/software/php-5.2/ext/明明有php_mysql.dll这个文件， 可它就是说找不到这个文件， 好奇怪，只好求助于谷哥吧 终于找到啦： 原来php_mysql.dll依赖于libmysql.dll这个文件， 而libmysql.dll又在C:/software/php-5.2/目录下， 而之前并没有把C:/software/php-5.2/加到环境变量里， 也没有把libmysql.dll放到C:\WINDOWS\system32目录下， 系统根本找不到php_mysql.dll， 所以出镜啦 解决方法： 1. 把libmysql.dll放到C:\WINDOWS\system32下。 2. 把PHP[我的就是：C:/software/php-5.2/]的路径加到环境变量里。 [这个没有测过， 因为本人用第一种方法试了，成功了， 所以就偷懒没试这个了]]]></description>
		<wfw:commentRss>http://www.genepeng.cn/index.php/135/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5安装ssl</title>
		<link>http://www.genepeng.cn/index.php/90</link>
		<comments>http://www.genepeng.cn/index.php/90#comments</comments>
		<pubDate>Tue, 12 May 2009 15:29:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.genepeng.cn/?p=90</guid>
		<description><![CDATA[以root身份进入控制台，进入下面命令： ~]# yum -y install mod_ssl ~]# cd /etc/pki/tls/certs/ certs]# make server.key certs]# openssl rsa -in server.key -out server.key certs]# make server.csr certs]# openssl x509 -in server.csr -out server.pem -req -signkey server.key -days 365 certs]# chmod 400 server.* certs]# vi /etc/httpd/conf.d/ssl.conf SSLCertificateFile /etc/pki/tls/certs/server.pem　←　追加 SSLCertificateKeyFile /etc/pki/tls/certs/server.key ← 追加 成功！ 更多可参照：http://www.centospub.com/make/ssl.html（该页面教程基于CentOS4.4，所以与上面步骤和命令略有不同）。]]></description>
		<wfw:commentRss>http://www.genepeng.cn/index.php/90/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

