ISO-10646-UCS-4 .ucs4 AddCharset UTF-8 .utf8
AddCharset GB2312 .gb2312 .gb AddCharset utf-7 .utf7 AddCharset utf-8 .utf8 AddCharset big5 .big5 .b5 AddCharset EUC-TW .euc-tw AddCharset EUC-JP .euc-jp AddCharset EUC-KR .euc-kr AddCharset shift_jis .sjis
#以CGI方式安装PHP #ScriptAlias "/__php_dir__/" "/apache/cgiphp5/" #AddType application/x-httpd-php .php4 .php .htm .php3 .inc .fire #Action application/x-httpd-php "/__php_dir__/php.exe"
#以apache的模块方式运行php LoadModule php4_module /apache/php/sapi/php4apache.dll PHPINIDir /apache/php/php.ini AddType application/x-httpd-php .php .htm .php3 AddType application/x-httpd-php-source .phps
#支持fcgi #LoadModule fastcgi_module modules/mod_fastcgi.dll #AddHandler fastcgi-script .fcgi .fpl
AddType application/x-tar .tgz
#AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi .pl
#AddHandler send-as-is asis
#AddHandler imap-file map
AddHandler type-map var
#AddType text/html .shtml #AddOutputFilter INCLUDES .shtml
#ErrorDocument 500 "The server made a boo boo." #ErrorDocument 404 /apache/yyfzx/soft #ErrorDocument 404 "/apache/yyfzx/soft" #ErrorDocument 402 http://www.example.com/subscription_info.html
BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully BrowserMatch "^gnome-vfs" redirect-carefully
#<Location /server-status> # SetHandler server-status # Order deny,allow # Deny from all # Allow from .51web.net #</Location>
#<Location /server-info> # SetHandler server-info # Order deny,allow # Deny from all # Allow from .51web.net #</Location>
<IfModule mod_ssl.c> Include conf/ssl.conf </IfModule>
#以下是关于虚拟机的配置 NameVirtualHost 218.87.169.209:80 <VirtualHost 218.87.169.209:80> RewriteEngine On RewriteRule ^/index.htm$ /index.php RewriteRule ^/soft/([0-9]+).htm$ /download.php?soft= RewriteRule ^/sort/([0-9-_]+).htm$ /list.php?list= RewriteRule ^/sort/index.htm$ /type.php RewriteRule ^/a-z/([0-9]+).htm$ /az.php?id= DocumentRoot /apache/mayidown ServerName mayidown.3322.org </VirtualHost> //以 #开头的就是解释用.启动的时候不加载的.我提供了一个虚拟主机给大家参考重写URL功能
上一页 [1] [2]
 |
频道声明:本频道的文章除部分特别声明禁止转载的专稿外,可以自由转载.但请务必注明出出处和原始作者 文章版权归本频道与文章作者所有.对于被频道转载文章的个人和网站,我们表示深深的谢意。
| 原始作者:佚名 |
录入时间:2007-6-29 10:58:12 |
| 信息来源:不详 |
投稿信箱:itqoo@126.com |
|
|
 |
|