Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7534343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:59:16+00:00 2026-05-30T05:59:16+00:00

What I want to do is pass some settings to my module from httpd.conf,

  • 0

What I want to do is pass some settings to my module from httpd.conf, something like:

<Location /path>
  SetHandler mymodule-handler # based on this, the module will kick in and "try" to read settings
  MyCustomStringSetting "AStringValue"
  MyCustomIntegerSetting 2012
  # more
</Location>

How can I get “AStringValue” and “2012” from within the module?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:59:17+00:00Added an answer on May 30, 2026 at 5:59 am

    Here is a complete example (with source) from “Apache: The Definitive Guide”:

    http://docstore.mik.ua/orelly/linux/apache/ch15_04.htm

    The example module mod_reveal implements two commands, RevealServerTag and RevealTag.

    In the server configuration, these two new commands can be used:

    <VirtualHost :9000>
    DocumentRoot /home/camilla/WWW/docs
    RevealTag H2Main
    RevealServerTag H2
    </VirtualHost>
    

    And then processed by the module.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to pass some parameters to my MVC UserControl like ShowTitle(bool) and the
I want to call an ASHX file and pass some query string variables from
I am writing an android app. I want to pass some data across the
I'm playing with the flickr api and php. I want to pass some information
I want to pass around some values in an array that will always be
I have a controller with that I want to pass off some data to
I want to pass an enum value as command parameter in WPF, using something
I'm fetching some settings out of the database based on a value passed from
Here I want to make some modificatins for my setting. I want response from
I want to pass some value through url in wordpress, but I met some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.