Rewrite Rule For Lighttpd

Completado Publicado Apr 17, 2010 Pagado a la entrega
Completado Pagado a la entrega

I need a rewrite rule for Lighttpd

If a query string contains

javascript:

anywhere then I need the query string to be removed completely.

This is my really bad attempt because I don't know what I'm doing.

It doesn't work:

$HTTP["host"] =~ "^.*\.([^.]+\.com)$" {

url.rewrite-once = ( "javascript:" => "/" )

}

I need this to work across any host. If the rewrite rule is by itself then lighttpd won't load.

i.e.

url.rewrite-once = ( "javascript" => "/" )

This won't allow Lighttpd to load.

If you need any more information let me know.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Worker in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the worker's Worker Legal Agreement).

## Platform

Lighttpd

Amazon Web Services Linux Arquitectura de software Verificación de software UNIX Web Hosting Gestión de páginas web Verificación de páginas web

Nº del proyecto: #3352781

Sobre el proyecto

2 propuestas Proyecto remoto Activo Apr 17, 2010

Adjudicado a:

bakarshams

See private message.

$7 USD en 1 día
(3 comentarios)
0.0

2 freelancers están ofertando un promedio de $12 por este trabajo

gekko2008

See private message.

$17 USD en 1 día
(0 comentarios)
0.0