Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8512 closed defect (worksforme)

Problem uploading attachements multi-project enviroment using mod_python on Linux

Reported by: alexandru.plugaru@… Owned by:
Priority: normal Milestone:
Component: attachment Version: 0.11.1
Severity: major Keywords: mod_python linux
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When I try to upload a image (png) or other kinds of attachments (.txt) it doesn't bring up any errors and I the attachment isn't uploaded. The permissions of files are set to www-data user.

Btw this a Ubuntu Server 9.04 with apache2.

Info about mod_python:

Package: libapache2-mod-python State: installed Automatically installed: no Version: 3.3.1-6build2

My virtual host configuration:

<VirtualHost *:80>
        ServerName trac.domain.com
        <Directory /var/www/trac>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
        <Location />
                SetHandler mod_python
                PythonInterpreter main_interpreter
                PythonHandler trac.web.modpython_frontend
                PythonOption TracEnvParentDir /var/www/trac
                PythonOption TracUriRoot /

                AuthType Basic
                AuthName "Development Server Authentication"
                AuthUserFile /etc/apache2/trac-access/htpasswd
                AuthGroupFile /etc/apache2/trac-access/groups
                Require valid-user
                Require group development
        </Location>
        <Location /projectname>
                AuthType Basic
                AuthName "Development Server Authentication"
                AuthUserFile /etc/apache2/trac-access/htpasswd
                AuthGroupFile /etc/apache2/trac-access/groups
                Require valid-user
                Require group projectname
        </Location>

From trac.ini:

[attachment]
max_size = 5200000
render_unsafe_content = false

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 15 years ago

Resolution: worksforme
Status: newclosed

I assume you are using Python 2.6? You should upgrade to 0.11.5, as some 2.6-related issues have been fixed since 0.11.1.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.