opencart apache配置 伪静态
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.)?$ index.php?route=$1 [L,QSA]
-=-------------------------------
配置文件
<VirtualHost *:80>
#php_admin_value open_basedir “/home/wwwroot/default:/tmp/:/var/tmp/:/proc/”
DocumentRoot “/www/upcosplay.com”
ServerAlias www.upcosplay.com
ServerName upcosplay.com
ErrorLog “/home/wwwlogs/IP-error_log”
CustomLog “/home/wwwlogs/IP-access_log” combined
<Directory “/www/upcosplay.com”>
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html index.php