Skip to content

Fixes issue where mod_wsgi couldn't locate Trac module#6

Open
chriscarnold wants to merge 1 commit into
dixudx:devfrom
chriscarnold:wsgi-permissions-suggested-fix
Open

Fixes issue where mod_wsgi couldn't locate Trac module#6
chriscarnold wants to merge 1 commit into
dixudx:devfrom
chriscarnold:wsgi-permissions-suggested-fix

Conversation

@chriscarnold
Copy link
Copy Markdown

Related to #5
fix: resolve mod_wsgi 500 error when running as www-data

  • Install Trac 1.6 in location accessible by www-data user
  • Configure mod_wsgi daemon process with correct Python path
  • Update WSGI configuration to use proper site-packages path

Fixes issue where mod_wsgi couldn't locate Trac module due to permission restrictions

Comment thread Dockerfile
CMD service apache2 stop && apache2ctl -D FOREGROUND

# Apache config
RUN echo '<VirtualHost *:8123>\n\
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update these to outside file trac.conf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants