Code

Opened 9 years ago

Closed 7 years ago

#36 closed defect (invalid)

how do I config the apache+mod_python?

Reported by: james Owned by: adrian
Component: Core (Other) Version: 1.0
Severity: normal Keywords: web server
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

hi, I have successfully created the project and app as the tutorial wrote.
but i can not make it work under the apache+mod_python.

I put the block

  <Directory "d:/myproject/django/trunk">
	AddHandler mod_python .py
	PythonHandler django.core.handler
	PythonDebug On
  </Directory>

in httpd.conf, so i can use url:'http://localhost:8080/a.py' to call the handler.

however , how can i use url:'http://localhost:8080/2005/12/35678' to read an article?

wait the answer , thanks.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by ubernostrum

  • Resolution set to invalid
  • Status changed from new to closed

Please consult the mod_python deployment documentation, and if you have follow-up questions ask on the django-users mailing list.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.