List Info

Thread: PHP, Apache, and mod_python




PHP, Apache, and mod_python
country flaguser name
United States
2007-03-23 21:36:50
Hello All,

I've been trying to setup Trac for a PHP development
project.
Everything works great except for browsing PHP files in the
SVN repo.
Browsing works fine on every file type.  I using Trac
through Apache
and mod_python.  When I try to browse PHP files, it attempts
to load
inifinitely (8.5 hours is the longest i let it go before
stopping it).

Everything loads perfectly if I use the standalone server. 
So it
would seem that it is related to Apache.  The last log entry
is:

2007-03-23 20:49:39,272 Trac[php] DEBUG: PHP command line:
php -sn

Anyone experienced this?  Thanks in advance for any help. 
The server
details are below.

dayton (kevinldayton*[at]*gmail)

Apache/2.0.59 (Unix) DAV/2 PHP/5.2.0 mod_python/3.2.10
Python/2.4.3
mod_ssl/2.0.59 OpenSSL/0.9.7e-p1

Trac 0.10.3.1
trac.ini:
# -*- coding: utf-8 -*-

[attachment]
max_size = 262144
render_unsafe_content = false

[browser]
downloadable_paths = /trunk, /branches/*, /tags/*
hide_properties = svk:merge

[changeset]
max_diff_bytes = 10000000
max_diff_files = 0
wiki_format_messages = true

[components]
webadmin.* = enabled

[header_logo]
alt =
height = -1
link = http://example.org/
src = common/trac_banner.png
width = -1

[logging]
log_file = /usr/local/projects/sportspage/log/trac.log
log_level = DEBUG
log_type = file

[mimeviewer]
enscript_modes = text/x-dylan:dylan:4
enscript_path = /usr/local/bin/enscript
max_preview_size = 262144
mime_map =
text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb,text/x-

php:php
php_path = /usr/local/bin/php
silvercity_modes =
tab_width = 8

[notification]
always_notify_owner = false
always_notify_reporter = false
always_notify_updater = true
mime_encoding = base64
smtp_always_bcc =
smtp_always_cc =
smtp_default_domain =
smtp_enabled = false
smtp_from = traclocalhost
smtp_password =
smtp_port = 25
smtp_replyto = traclocalhost
smtp_server = localhost
smtp_subject_prefix = __default__
smtp_user =
use_public_cc = false
use_short_addr = false
use_tls = false

[project]
descr = My example project
footer = Visit the Trac open source project at<br
/><a href="http://
trac.edgewall.org/">http://trac.edgew
all.org/</a>
icon = common/trac.ico
name = V8 SportsPage
url = http://elijah.si
nai/trac/sportspage/

[search]
min_query_length = 3

[ticket]
default_component =
default_milestone =
default_priority = major
default_type = defect
default_version =
restrict_owner = false

[timeline]
changeset_long_messages = false
changeset_show_files = 0
default_daysback = 30
ticket_show_details = false

[trac]
authz_file =
authz_module_name =
base_url =
check_auth_ip = true
database = postgres://trac:v8traclocalhost/trac
default_charset = iso-8859-15
default_handler = WikiModule
htdocs_location =
ignore_auth_case = false
mainnav =
wiki,timeline,roadmap,browser,tickets,newticket,search
metanav = login,logout,settings,help,about
permission_store = DefaultPermissionStore
repository_dir = /usr/local/projects/subversion/sportspage
repository_type = svn
timeout = 20

[wiki]
ignore_missing_pages = false
split_page_names = false


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )