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 399723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:52:27+00:00 2026-05-12T16:52:27+00:00

We try to migrate our old server to a new one but we experienced

  • 0

We try to migrate our old server to a new one but we experienced some problems with mod_python.

The problem is under this web page:

http://auction.tinyerp.org/auction-in-europe.com/aie/

Here is our apache2 configuration:

NameVirtualHost *
<VirtualHost *>


 DocumentRoot /var/www/
 <Directory />
  Options FollowSymLinks
  AllowOverride all
 </Directory>
 <Directory "/var/www/auction-in-europe.com/aie">
  Options Indexes FollowSymLinks MultiViews
  #AddHandler mod_python .py
  PythonOption mod_python.legacy.importer *
  SetHandler mod_python
                PythonHandler mod_python.publisher
      PythonDebug On
  AllowOverride all
  Order allow,deny
  allow from all
  # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
 </Directory>

 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
 <Directory "/usr/lib/cgi-bin">
  AllowOverride None
  Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
  Order allow,deny
  Allow from all
 </Directory>

 ScriptAlias /bin/ /home/www/auction-in-europe.com/aie/bin/
 ServerAdmin teamwork19@gmail.com
 ErrorLog /home/logs/auction-in-europe.com/error_log
 CustomLog /home/logs/auction-in-europe.com/access_log combined
 ServerName auction-in-europe.com
 ServerAlias www.auction-in-europe.com antique-in-europe.com www.antique-in-europe.com art-in-europe.com www.art-in-europe.com en.art-in-europe.com
 ServerAlias en.antique-in-europe.com en.auction-in-europe.com fr.antique-in-europe.com fr.art-in-europe.com fr.auction-in-europe.com auction.tinyerp.org
 #RewriteEngine on
 #RewriteRule ^/(.*)\.html /index.py [E=pg:$1]

 ErrorLog /var/log/apache2/error.log

 # Possible values include: debug, info, notice, warn, error, crit,
 # alert, emerg.
 LogLevel warn

 CustomLog /var/log/apache2/access.log combined
 ServerSignature On

 Alias /doc/ "/usr/share/doc/"
 <Directory "/usr/share/doc/">
  Options Indexes MultiViews FollowSymLinks
  AllowOverride None
  Order deny,allow
  Deny from all
  Allow from 127.0.0.0/255.0.0.0 ::1/128
 </Directory>
 <Directory /home/www/postfixadmin>
 </Directory>

</VirtualHost>

Logs are quite empty:

[Mon Oct 12 13:25:58 2009] [notice] mod_python: (Re)importing module 'mod_python.publisher'
[Mon Oct 12 13:25:58 2009] [notice] [client 212.166.58.166] Publisher loading page /home/www/auction-in-europe.com/aie/index.py

I really have no idea where to start.

Please help!

  • 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-12T16:52:27+00:00Added an answer on May 12, 2026 at 4:52 pm

    Is that the index.py? I believe you are mixing up your install. You use the “PythonHandler mod_python.publisher” if you do not want to write your own handler. The file you just posted contains a handler, the lines:

    def handler(req):
       return app.run(apacheapp.Request(req)) 
    

    This is rather difficult to trouble-shoot but I believe your apache config should be closer to this:

     <Directory "/var/www/auction-in-europe.com/aie">
       Order allow,deny
       Allow from all
       SetHandler python-program .py
       PythonHandler index ## or what ever the above file is called without the .py
       PythonDebug On   
      </Directory>
    

    This will make all requests to “/var/www/auction-in-europe.com/aie” get handled by index.py.

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

Sidebar

Related Questions

No related questions found

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.