Unsubscribe me please!

2003-10-09 Thread fabio rohrich
 
 

__
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro 
Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/


Modify the content after having got it

2003-03-17 Thread fabio rohrich
 Hi all,
I'm able (easy job ) to catch the content in apache
2.x
, but the problem is to modify it and to send it. I
mean , I get the content throw the bucket brigade, and
I have 'data' datas long 'lenght'. If I try to modify
the data I get and to send it again inside the bucket,
it doesnt work.
So , how have I to behave in this situation? 
Thanks a lot,
Fabio

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html


Filter process

2003-03-12 Thread fabio rohrich
Hi all,
I´d like to know how is the process I have to follow
for my filter. I need to modify the html content.
Is the same as in mod_acrono..?

Thanx :)




__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html


Re: mod_blanks for apache 2

2003-02-25 Thread fabio rohrich
Great, I appreciate it.
This is not only open source... it's open mind and
open knowledge!
Fantastic :)



 --- Greg Ames <[EMAIL PROTECTED]> ha scritto: >
Cliff Woolley wrote:
> 
>  >>Anyway,any suggestion on some modules for apache
> 2.x
>  >>that filter the output (I need to modify the
> html).
>  >>And, where can I find some docs (therei s only
> the
>  >>famous faq?)?
>  >
>  >
>  > You're going to have to learn about filters and
> bucket brigades if you
>  > haven't already.  Go read the slides from Greg
> Ames's talk on filters and
>  > my talk on bucket brigades from ApacheCon 2002.
>  >
>  > Filters:
> 
>  > Greg, if you don't mind, could you post them
> somewhere more
>  > generally-accessible?  Like on
> http://www.apache.org/~gregames/ would be
>  > cool.  =)
> 
> OK, done.  The slides are now at
> http://www.apache.org/~gregames/ap2filters.ppt
> 
> Greg
> 
> 

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html


mod_blanks for apache 2

2003-02-21 Thread fabio rohrich
Hi.
We spoke long time about filtering in apache 1.3.
So far, I decided to write mod_blanks as a filter for
apache 2.x, even if I wrote a large part for apache
1.3 (ill port everything):)

Anyway,any suggestion on some modules for apache 2.x
that filter the output (I need to modify the html).

And, where can I find some docs (therei s only the
famous faq?)?
And, last thing, the whole collection of mail of this
list, whereis it?
Thanks a lot,
Fabio

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html



html

2003-02-05 Thread fabio rohrich
HI all,
is different to catch a normal .html file ( I mean not
server parsed) and one parsed (like .php)?
I can just read the file required from the request_rec
and elaborate it (if it's .html) or I need a filter to
catch the content (I'm sure I must do it for a parsed
file)?

Thanks!

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Filters for apache 1.3

2003-01-26 Thread fabio rohrich
HI all,
always the same problem.
I have to work with the content generated from the
server.
I cannot get it,even if in the API I have BUFF *client
in the conn_rec is used internally to read and write
data to the client.
I dont know how to get the content, any ideas? Can I
interact with the BUFF *client or not?

Thanks!!!


__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Open and read a file...

2003-01-18 Thread fabio rohrich
HI all, 
I have to open the requested file and manipulate the
html code (apache 1.3.x)
SO. I open the file with ap_pfopen.
Somebody knows how I can get a string (I want to check
each line). I can do it with the UNix function read()
but it doesn't sound me good. (I get the fd of the
file and after I pass it to the read () ).
So, to catch each line (and parsing each word in the
line)(I mean till the new line) in the file and to
save it in a buffer, which is the best function?

Thanks!!

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



using my module

2003-01-11 Thread fabio rohrich
 Hi all,
I have no a server at home, only a linux station. I'm
writing a module that modify the html content. I have
the problem that I don't know how to simulate the
client server environment. I mean: I can set up a
module in a location (with its handler) and I can see
how it works (like example-info). but if I want that
my module interacts with a file requested from the
client, how xan i do it? For example, I can add to my
apache the module gzip, but how can I see if it works?

I want just to see on my browser the file I request
after my module has "filtered" it.

Thanks a lot,
fabio



__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



using module

2003-01-10 Thread fabio rohrich
 Hi to everybody.
I'm developing a module that modify the html content.
I have no server at home, so i work on my linux
workstation.
Can I use a module that modify the file requested from
a client on my PC (it's not a server). I mean, I can
"SetHandler" on a location and I can see the module,
but if I want that the module interacts with the file
the clinet has asked, how I can do it?
I hope to be clear,
Fabio

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Re: Html content modify

2002-12-18 Thread fabio rohrich
OPs, I forgot it!
I implement mod_blanks in Apacahe 1.3.x

 


--- Brian Pane <[EMAIL PROTECTED]> ha scritto: > On
Wed, 2002-12-18 at 09:31, fabio rohrich wrote:
> >  Hi
> > In my mod_blanks I have to modify the html code
> sent
> > to the server to the client.
> > I work directly on the file requested. Where can I
> get
> > it, in which structure?
> 
> Assuming that you're implementing mod_blanks as a
> filter, the HTML content will be in the buckets in
> the bucket brigade that gets passed in.
> 
> mod_include and mod_deflate are two good examples.
> 
> Brian
> 
>  

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Html content modify

2002-12-18 Thread fabio rohrich
 Hi
In my mod_blanks I have to modify the html code sent
to the server to the client.
I work directly on the file requested. Where can I get
it, in which structure?
Thanks,
Fabio

p.s. Can you tell me which module does the same
work,please? :)

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Re: Before I start a new module...

2002-11-25 Thread fabio rohrich
EHI EHI EHI, I'm still writing it!
No easy job, 'cause I wrote a prototype now, and in my
thesis I want to create something like a model to use
for creating module's prototype! :)




 --- Dirk-Willem van Gulik <[EMAIL PROTECTED]> ha
scritto: > 
> Did you add it to modules.apache.org ? That is for
> sure a good place to
> make sure you are found.
> 
> On Mon, 25 Nov 2002, [iso-8859-1] fabio rohrich
> wrote:
> 
> > And here I am! Hi my italian colleague! I'm
> stripping
> > out the white spaces from HTML, it's true.
> > It's not so easy to strip out the garbage from
> html
> > code, anyway I can give u the document I wrote in
> > which there all the requirements to delete white
> > spaces (where and when).
> >
> > Let me know if u need help!
> > Write me personally if u need ([EMAIL PROTECTED])
> > Ciao,
> >  Fabio
> >
> >
> > --- Aaron Bannert <[EMAIL PROTECTED]> ha scritto: >
> > Knowing nothing about your setup, I would suggest
> > > instead writing
> > > a simple script (perl or whatever) that
> traverses
> > > your docroot and
> > > /compresses/ the whitespace out of your files,
> > > instead of doing
> > > it dynamically and per-request.
> > >
> > > my 2c,
> > > -aaron
> > >
> > >
> > > On Sunday, November 24, 2002, at 05:33  PM, Pier
> > > Fumagalli wrote:
> > >
> > > > Ok, I was kindly asked by my management to
> write a
> > > new module for
> > > > Apache
> > > > 2.0, since as of _TODAY_ we're using it in
> > > production for non-static
> > > > content
> > > > as well (whoho!)...
> > > >
> > > > Before I move all my apps over on the new
> Apache
> > > 2.0 server, I need to
> > > > be
> > > > able to strip whitespace from HTML (ok, my
> > > designers like using
> > > > DreamWeaver,
> > > > not my fault), so since I can use filters,
> well...
> > > :-)
> > > >
> > > > First question would be... Seems pretty odd
> that
> > > noone thought about it
> > > > before (???), so, is there a module doing that
> > > already?
> > > >
> > > > If not, am I right in looking at what
> > > mod_bucketeer does for a start?
> > > >
> > > > Cheeridos! :-)
> > > >
> > > > Pier
> > >
> >
> >
>
__
> > Mio Yahoo!: personalizza Yahoo! come piace a te
> >
>
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/
> >
>  

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Re: Before I start a new module...

2002-11-25 Thread fabio rohrich
And here I am! Hi my italian colleague! I'm stripping
out the white spaces from HTML, it's true.
It's not so easy to strip out the garbage from html
code, anyway I can give u the document I wrote in
which there all the requirements to delete white
spaces (where and when).

Let me know if u need help!
Write me personally if u need ([EMAIL PROTECTED])
Ciao,
 Fabio


--- Aaron Bannert <[EMAIL PROTECTED]> ha scritto: >
Knowing nothing about your setup, I would suggest
> instead writing
> a simple script (perl or whatever) that traverses
> your docroot and
> /compresses/ the whitespace out of your files,
> instead of doing
> it dynamically and per-request.
> 
> my 2c,
> -aaron
> 
> 
> On Sunday, November 24, 2002, at 05:33  PM, Pier
> Fumagalli wrote:
> 
> > Ok, I was kindly asked by my management to write a
> new module for 
> > Apache
> > 2.0, since as of _TODAY_ we're using it in
> production for non-static 
> > content
> > as well (whoho!)...
> >
> > Before I move all my apps over on the new Apache
> 2.0 server, I need to 
> > be
> > able to strip whitespace from HTML (ok, my
> designers like using 
> > DreamWeaver,
> > not my fault), so since I can use filters, well...
> :-)
> >
> > First question would be... Seems pretty odd that
> noone thought about it
> > before (???), so, is there a module doing that
> already?
> >
> > If not, am I right in looking at what
> mod_bucketeer does for a start?
> >
> > Cheeridos! :-)
> >
> > Pier
>  

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Re: module structure in development

2002-11-11 Thread fabio rohrich
My module will work in all the server (it strips out
blanks from html pages). So it'll work in all the
server and in all the virtual server. I'll have 2
directives: one is a kind of swithcer: u can turn on
or off the mod_blan; the other gives the choice to
delete only white spaces or to remove white spaces and
unrequired tags too.
So , I don't think they r config directives. What do u
suggest?
Thanks, 
Fabio
 

-


-- Jeff Trawick <[EMAIL PROTECTED]> ha scritto: >
fabio rohrich <[EMAIL PROTECTED]> writes:
> 
> > I don't understand if I have to fill the config
> > fields, like server config, merge server config,
> > create per-directory config, merge per-directory
> > config.
> 
> Do you have config directives?  If so, you'll need
> some of these to
> deal with directives seen at different scopes.
> 
> -- 
> Jeff Trawick | [EMAIL PROTECTED]
> Born in Roswell... married an alien... 

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Re: module structure in development

2002-11-08 Thread fabio rohrich
Jeff,
In the university we have Apache 1.3 working, that's
why i must write a module for apache 1.3 and not for
2.0.
Anyway, can u help me? 


--- Jeff Trawick <[EMAIL PROTECTED]> ha scritto: >
fabio rohrich <[EMAIL PROTECTED]> writes:
> 
> > Hi!
> > In the mod I'm developing I have to threat with
> the
> > content phase (I'll strip out blanks from html
> code)
> > and with the logging phase (to report the size of
> the
> > stripped page).
> > In the module structure (module blanks_module) I
> have
> > to fill the fields of handler and logger like:
> > blanks_logger,
> > blanks_handlers.
> > 
> > I don't understand if I have to fill the config
> > fields, like server config, merge server config,
> > create per-directory config, merge per-directory
> > config.
> > 
> > Please, can you help me. I can't really get it.
> 
> Uhh, don't you want to write a module for Apache 2.0
> instead of Apache
> 1.3?   From your description of the module
> structure, it sounds like
> you are writing a module for Apache 1.3.
> 
> -- 
> Jeff Trawick | [EMAIL PROTECTED]
> Born in Roswell... married an alien... 

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



module structure in development

2002-11-07 Thread fabio rohrich
Hi!
In the mod I'm developing I have to threat with the
content phase (I'll strip out blanks from html code)
and with the logging phase (to report the size of the
stripped page).
In the module structure (module blanks_module) I have
to fill the fields of handler and logger like:
blanks_logger,
blanks_handlers.

I don't understand if I have to fill the config
fields, like server config, merge server config,
create per-directory config, merge per-directory
config.

Please, can you help me. I can't really get it.

Anyway my module will be applyed to all the server
(because the module will work will all the html files
the server will send, and from all virtual sever).

Thanks,
Fabio

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



my module works?

2002-11-06 Thread fabio rohrich
 hi!
I'm starting to write the mod_blank (it'll interact
with the response phase).
I'm writing the module structures and in want to know
if it works good. I mean, I 'll write a stupid
functiuon that wiil add at the bottom of a web page a
written, just to check if my module is linked good and
so on...
I haven't a server at home , but I have apache on my
Linux station.
How can I check that my module works good?
Thanks,
Fabio

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_deflate and gzip

2002-11-03 Thread fabio rohrich
HI!
I don't get the difference between mod_deflate and the
famous gzip!
Can they work together,and what it's the difference
between them?
Thanks,
Fabio

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank dev

2002-11-03 Thread fabio rohrich
HI!
As I wrote before, I'm starting to develop a module.
It'll clean on the fly white spaces, new
lines,comments and not usefull things from Html,
javascripts,CSS and ...I'll see what else! :)
The module will save in a cache the page stripped out
(so every time the page is requested Apache has not to
call the mod_blank. Pages created dinamically will not
be stored in the cache.
The reduced space of each page will be saved in a log
file, and the web admin. can decide if the space saved
is a good quantity and to use or not the mod_blank
with that web page.

So, I have some problems to create the module
structure and so on.

I want to hook my modules in the request phase, in the
type-check phase (maybe), and in the logging phase.

So i will have in the mod. structure these fields not
NULL
blank_cmds
blank_handlers
blank_logger
blank_check_type

The others fields will be null
Have I to fill the blank_cmds if I have a directive?
And I need a directive? Or more than one? And which? 


I think other questions will follow! 
:)
Thanks a lot,
rostich

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blank development

2002-10-13 Thread fabio rohrich

HI!
I wrote you last time about my development of a new
apache module.

mod_blanks: a module for the Apache web server which
would on-the-fly 
remove unnecessary blank space, comments and other
non-interesting 
things from the served page.  Skills needed: the C
langugae, a bit of 
text parsing techniques, HTML, learn Apache API. 
Complexity: low to 
moderate (after learning the API).  Usefulness:
moderate to low (but 
maybe better than that, it's a kind of nice toy topic
that could be 
shown to save a lot of bandwith on the Internet :-).

So, the question is. I'm developing it for my bachelor
thesis
and my teacher told me it's too easy to develop it.
So, have you some ideas, like something to do more
(something
like compression) or other things to add in the
module.

Thanks,
F.R.

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



Re: mod_blanks

2002-09-26 Thread fabio rohrich

 --- "johannes m. richter" <[EMAIL PROTECTED]>
ha scritto: > Since this seems to be rather
understandable - will
> you make the source for 
> this available? (To try to learn..)   


I'll develop it in the next three months. For sure the
source it'll be available!!!


> Little suggestion: "Compression" statistics (just
> like the old mod_gzip does)


Better explanation, please. I don't understand. Can u
suggest me sone links or documentation fot it?
Thanks


> Good luck :)
> johannes
> -- 
> Theorie ist, wenn man alles weiß und nichts klappt.
> Praxis  ist, wenn
> alles funktioniert und keiner weiß warum. Bei
> Windows 9* sind Theorie
> und Praxis vereint, nichts funktioniert und keiner
> weiß warum.
> - http://jgcl.at/ko/ - new photos from summer camp
> 2002 in Moosen/Tirol
>  

__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/



mod_blanks

2002-09-26 Thread fabio rohrich

I'm going to develop this topic for thesis.
Has anybody of you any suggest for it? Something to
addin the development (like compression of the string
) or some feature to implement!

And, the last thing, what do you think about it?

Thanks a lot,
Fabio

- mod_blanks: a module for the Apache web server which
would on-the-fly 
remove unnecessary blank space, comments and other
non-interesting 
things from the served page.  Skills needed: the C
langugae, a bit of 
text parsing techniques, HTML, learn Apache API. 
Complexity: low to 
moderate (after learning the API).  Usefulness:
moderate to low (but 
maybe better than that, it's a kind of nice toy topic
that could be 
shown to save a lot of bandwith on the Internet :-).



__
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/