Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

RAW_ARGS question

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


ysyrota at softservecom

Feb 11, 2003, 1:29 AM

Post #1 of 2 (409 views)
Permalink
RAW_ARGS question

Hello.

I want my modperl2 module to process RAW_ARGS configuration directives
like this.

<AxMediaType screen>
<AxStyleName #default>
AxAddProcessor text/xsl /styles/webpage_screen.xsl
</AxStyleName>
<AxStyleName printable>
AxAddProcessor text/xsl /styles/webpage_printable.xsl
</AxStyleName>
</AxMediaType>

There is no example in the documentation how to implement it, could
anybody
give me such example?

-- Yuriy Sytota


stas at stason

Feb 11, 2003, 4:27 PM

Post #2 of 2 (385 views)
Permalink
Re: RAW_ARGS question [In reply to]

Yuriy Syrota wrote:
> Hello.
>
> I want my modperl2 module to process RAW_ARGS configuration directives
> like this.
>
> <AxMediaType screen>
> <AxStyleName #default>
> AxAddProcessor text/xsl /styles/webpage_screen.xsl
> </AxStyleName>
> <AxStyleName printable>
> AxAddProcessor text/xsl /styles/webpage_printable.xsl
> </AxStyleName>
> </AxMediaType>
>
> There is no example in the documentation how to implement it, could
> anybody
> give me such example?

Indeed, there is none, but there is at least one in the mod_perl source,
written in C, see:

src/modules/modperl_cmd.c:MP_CMD_SRV_DECLARE(perl)

and probably a few more in the httpd source.

Since you are working on implementing it, if you can contribute such an
example to the documentation, that would be grand! Thank you.

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas[at]stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.