I'm getting an error RewriteRule: Bad flag delimiters . When I access the page, the browser show 500 error. Can anyone point me in the right direction please. I am using xampp in MAC OS 10.9.2
Below is my htacess code. Its work perfectly in my hosting server which is linux but not in my localhost
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]s
I solved the problem by removing the 's' in the last line
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.