<DirectoryMatch "/alidata/www/phpwind/(attachment|html|data)"> <Files ~ ".php"> Order allow,deny Deny from all </Files> </DirectoryMatch> <VirtualHost *:80> DocumentRoot /alidata/www/jx1949 ServerName localhost ServerAlias localhost <Directory "/alidata/www/jx1949"> Options Indexes FollowSymLinks AllowOverride all Order allow,deny Allow from all </Directory> <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)-htm-(.*)$ .php? RewriteRule ^(.*)/simple/([a-z0-9\_]+\.html)$ /simple/index.php? </IfModule> ErrorLog "/alidata/log/httpd/phpwind-error.log" CustomLog "/alidata/log/httpd/phpwind.log" common </VirtualHost>
时间: 2025-01-02 04:32:25