Find Jobs
Hire Freelancers

Rewrite (regular expressions) Expert

$30-250 USD

In Progress
Posted about 9 years ago

$30-250 USD

Paid on delivery
I'm working on a helpdesk system and rewrite-rules are making me nuts (Apache rewrite module). Instead of trying to figure this thing out myself, I want to use my time on fun things like programming instead. Files must be delivered to me today! No excuses. I will only consider price of $40 for this task as an real expert would manage this in 10-15 minutes - a non-professional myself would would use probably half a day, so there is no point to bid at this project if you plan to use so long time. Im having a multi-brand support site that shares the same php-code. This means that I have one main install with php files: Site 1: [login to view URL] And two sites ON ANOTHER DOMAINS (not just different sub-domains): Site 2: [login to view URL] Site 3: [login to view URL] I have redirected everything in both support's vhost file to this: RewriteRule ^(.*) [login to view URL]$1 [P] I have also enabled "SSLProxyEngine On" since all these sites have certificates for that to work. All works as far as I can tell. Images, request and everything works. When I go to [login to view URL], I get the files served by [login to view URL] as I should based on the rule above (and the url doesn't change, just like it should). The biggest problem is when I start to want SEO-friendly URLS for [login to view URL] and support.mythirdsomain.com. Then I have to do some work to figure this out. I want to be able to Site 2 and Site 3: [login to view URL] [login to view URL] Rewritten to: [login to view URL] [login to view URL] From: [login to view URL] To: [login to view URL] Of course should it also work on root of these domains: [login to view URL] (should go to [login to view URL] on [login to view URL]). I have put contstant links to css/images/ja with full url/path to the requesting domain (using php and forward-host), so you don't have to worry about that part. I plan to use these rules for other installs also, so I want a fully tested ready solution for those three rules above. I would perfer as little rules in vhost as possible, even less than that one line I have and would rather just by using .htaccess. Other things: I'm able to test and test again and again. The point is instead to get a ready tested solution from you, where I don't have a problem with things like this: [login to view URL] and [login to view URL] give two different result because a regexp isn't matched Includes some help to implement, but at first, I just want delivered a ready .htaccess-file from you, written in a clear an consise way.
Project ID: 7576645

About the project

Remote project
Active 9 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

About the client

Flag of NORWAY
OSLO, Norway
5.0
93
Payment method verified
Member since Jun 14, 2002

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.