Yes, another one of these. I've tried everything I could find on the search with no luck.
In my httpd.conf (running centos and apache2):
<VirtualHost *:80>
ServerName www.domain.com
ServerAlias domain.com *.domain.com
DocumentRoot /var/www/html/domain.com
</VirtualHost>
in my htaccess in /var/www/html/domain.com:
RewriteEngine on
RewriteCond $1 !^(index.php|images|robots.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
Nothing seems to be working.
I've tried adding
RewriteBase /
I've tried switching the last line to:
RewriteRule ^(.*)$ /index.php/$1 [L]
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…