AddType video/MP4V-ES .mp4 Options +FollowSymLinks RewriteEngine on RewriteBase /Library/WebServer/Documents/anti_com/ RewriteCond %{REQUEST_URI} !\.php RewriteRule ^([^/]*)/?([^/]*)/?([^/]*)/?([^/]*)/? /$1/$2.php?rewrite=true&$3=$4 [PT] ErrorDocument 400 /_error/400.html ErrorDocument 401 /_error/401.html ErrorDocument 403 /_error/403.html ErrorDocument 404 /_error/404.html ErrorDocument 500 /_error/500.html