Find Jobs
Hire Freelancers

21850 htaccess help

N/A

In Progress
Posted almost 18 years ago

N/A

Paid on delivery
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]
Project ID: 1772518

About the project

1 proposal
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi. I can do this for you quickly enough, and have it redirecting to an ErrorDocument if the URL does not contain .html. Thanks.
$30 USD in 1 day
5.0 (2 reviews)
2.5
2.5

About the client

Flag of
5.0
90
Member since Jun 7, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.