DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd February 2010
amd64 amd64 is offline
New User
 
Join Date: Feb 2010
Posts: 1
Default issue with apache and mod_python

hi all,

i am having major issues with apache and mod_python. I have tried apache13 and 22 and both are doing my head in , but with the latest setup i have apache22 and mod_python3 and i have loaded the mod_python module and put Addhandler python-program .py pythondebug on and pythonhandler but the code is displaying on the page and not running the code.

has anyone got this running because its doing my head in

many thanks
Reply With Quote
  #2   (View Single Post)  
Old 23rd February 2010
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 437
Default

I have this on my httpd.conf:

Code:
<Directory /usr/local/www/apache22/data/python>
  DirectoryIndex index.py
  SetHandler mod_python
  PythonHandler mod_python.publisher
  PythonHandler mod_python.psp | .psp

  Options MultiViews FollowSymLinks
  Order allow,deny
  Allow from all
  MultiviewsMatch Handlers

  PythonDebug On
</Directory>
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm/ new monitor issue jimbus FreeBSD General 3 4th August 2009 07:39 PM
W2K DHCP Issue DrJ Other OS 4 25th May 2009 07:19 PM
Upgrade Apache 1.3 mod_ssl to Apache 2.2 beandip FreeBSD Ports and Packages 11 26th March 2009 09:12 PM
Possible SMP Issue? MetalHead OpenBSD General 1 25th November 2008 03:52 AM
RAM issue nikkon FreeBSD General 5 7th May 2008 04:26 AM


All times are GMT. The time now is 05:02 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick