Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    mod_macro 1.1.7

    Download button

    No screenshots available
    Downloads: 392  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Fabien Coelho | More programs
    BSD License / FREE
    May 8th, 2006, 19:54 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    mod_macro description

    mod_macro is a third-party module to the Apache Http Server, distributed with a BSD-style license like Apache.

    mod_macro is a third-party module to the Apache Http Server, distributed with a BSD-style license like Apache.

    mod_macro allows the definition and use of macros within apache runtime configuration files. The syntax is a natural extension to apache html-like configuration style.

    Examples

    Here is a sample use of mod_macro within a configuration file:
    ## Define a VHost Macro.

    < Macro VHost $host $port $dir >
    Listen $port
    < VirtualHost $host:$port >

    DocumentRoot $dir

    < Directory $dir >
    # do something here...
    < /Directory >

    # limit access to intranet subdir.
    < Directory $dir/intranet >
    order deny,allow
    deny from all
    allow from 10.0.0.0/8
    < /Directory >
    < /VirtualHost >
    < /Macro >

    ## Use of VHost with different arguments.

    Use VHost www.apache.org 80 /projects/apache/web
    Use VHost www.perl.com 8080 /projects/perl/web
    Use VHost www.ensmp.fr 1234 /projects/mines/web

    ## Done.

    Requirements:

    · Apache 1.3, 2.x

    What's New in This Release:

    · port to apache 2.2.
    · Macro directives are handled while reading the configuration file.
    · A few casts to avoid warnings.



    Product's homepage

      


    TAGS:

    Apache module | macros module | macros definition | mod_macro | Apache | module

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM