Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Seeking module appropriate for manipulating apache config files.

by hesco (Deacon)
on Jul 02, 2011 at 22:16 UTC ( [id://912503]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    # warn Dumper($conf->section('VirtualHost'));
    
  2. or download this
    $ perl -T t/11-aac.t
    1..6
    ...
    ok 2 - Our config file is: t/conf/etc/apache2/sites-available/cg.examp
    +le.com.conf
    # Looks like you planned 6 tests but ran 2.
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $new_conf = $conf->save_file( "$new_config_conf_file", \%config );
    
  4. or download this
    $ perl -T t/11-cg.t
    1..6
    ok 1 - use My::NewModule::Apache;
    ok 2 - Our config file is: t/conf/etc/apache2/sites-available/cg.examp
    +le.com.conf
    # Looks like you planned 6 tests but ran 2.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://912503]
Approved by GrandFather
Front-paged by chrestomanci
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2024-04-25 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found