I need help with the following rewrite
if the requested url does not contain .html in it I would like it to skip and go to ErrorDocument Does anyone know how to change the "RewriteCond" below to only activate if the "%1" contains html in it?
RewriteCond /home/htdocs/swingers_personals/%1 -d
RewriteRule (.*) /home/htdocs/swingers_personals/data/[login to view URL] [L]
ErrorDocument 404 [login to view URL]