home

Tags

apache 2.0.x虚拟主机 403 错误权限

January 4th, 2008

需要注意的地方

DocumentRoot “/var/www”


Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
#Deny from all

NameVirtualHost *:80

随便付我的httpd.conf(apache 2.x)和httpd-vhosts.conf

http://www.sb123.org/downloads/apache/httpd.conf
http://www.sb123.org/downloads/apache/httpd-vhosts.conf

MYSQL导入数据报错:DEFAULT CHARSET=latin1的解决方法

October 25th, 2007

一般错误描述为:

引用内容
MySQL Server Error:
You have an error in your SQL syntax near ‘ENGINE=MyISAM DEFAULT CHARSET=latin1′ at line 1( 1064 )

或者

[more…]

linux 简单安装apache

January 16th, 2007

软件获取:http://httpd.apache.org/

tar zvxf apache_1.3.29.tar.gz
cd apache_1.3.29
修改src/include/httpd.h 增大最大线程数

[more…]

Apache禁止类型下载

January 2nd, 2007

  1. <directory /some/where/dir>
  2. <FilesMatch "\.(mov|avi|bov|rm)">
  3. Order Deny,Allow
  4. Deny from all
  5. </FilesMatch>
  6. </directory>

限制指定的文件后缀…

随机头象…php

March 23rd, 2006

下载
使用方式:
把解压包里的文件上传到你空间,把图片上传到img目录,img里的index.php是图片上传程序,可以忽略.图片的格式:1.jpg 2.jpg 3.jpg