logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_line_edit
Author
delusr



Joined: 09 Apr 2006
Posts: 1

PostPosted: Tue 12 Sep '06 9:27    Post subject: mod_line_edit Reply with quote

Could someone please assist me with configuring mod_line_edit. I have it set up correctly as it displays Line-Edit/1.0.0 with in the Apache service monitor.

But this is where my knowledge of what to do next ends.

I have added the following lines to my httpd.conf file.

LoadModule line_edit_module "c:/bin/Apache2/modules/mod_line_edit.so"
SetOutputFilter line-editor
SetEnv LineEdit "text/html"
LERewriteRule <meta(.*)name=\"Generator\"(.*)content=(.*)> <> Ri

I want to be able to remove all the generator tags from files before they get displayed. Once I know how to set up apache i would think that i would also be able to remove all the msword guff in there html code.

Thankyou in advance.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Tue 12 Sep '06 15:10    Post subject: Reply with quote

Nice idea not to expose your generator.

I tried the following and it works here :

LERewriteRule <meta(.*)name=\"Generator\"(.*)content=(.*)> " " Ri

It makes a blank line, for example:

<meta name="Generator" content="Joomla! - Copyright (C) 2005 - 2006 Open Source Matters. All rights reserved." />


Steffen
Back to top


Reply to topic   Topic: mod_line_edit View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules