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

  • Home
  • SEARCH
  • 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 6172989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:29:22+00:00 2026-05-23T23:29:22+00:00

Do you know if there is a python equivalent of php’s virtual() ? My

  • 0

Do you know if there is a python equivalent of php’s virtual() ?

My configuration is python, djanogo, mod_wsgi, apache

Trying to include a script that has only examples for php using the above include and also needs to be included in all website’s pages.

Thanks

LE: I’m including a .cgi script

  • 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-23T23:29:23+00:00Added an answer on May 23, 2026 at 11:29 pm

    The only reference to this I see is

    http://www.modpython.org/pipermail/mod_python/2004-January/014834.html
    

    Which states In theroy you can use the Apache 2.x chain handlers feature, where more
    than one content handler can process the request. I say in theroy
    because I've read about it, but never tried it =)

    From the PHP Manual, virtual() is an Apache-specific function which is similar to <!--#include virtual...--> in mod_include. It performs an Apache sub-request . . . This function is only supported when PHP is installed as an Apache module.

    Here is the link for info about Apache Filters, which is what is meant by “chain handling”:

    http://httpd.apache.org/docs/2.2/filter.html

    The document should be able to be processed by mod_include after it’s output from mod_wsgi (or before, if that’s what you want).

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

Sidebar

Related Questions

Does anyone know if there's a windows Python executable creator program available now that
Does anyone know if there's an available python library compatible with Python2.6 that exposes
Does anyone know if there is a Python library for text-to-speech that works on
I know that in Python and Ruby there are the snippets if __name__ ==
I know there are implementations of Python and of Perl for .NET. Have you
I know there is a method for a Python list to return the first
I know there is a StringIO stream in Python, but is there such a
Possible Duplicate: Reading/Writing MS Word files in Python I know there are some libraries
Does anyone know anywhere there's a wide collection of Python source code on the
Does anyone know if there's a way to automatically expand a list in Python,

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.