Re: Migrating From modpython To wsgi After Upgrade From Reviewboard 1.6.11 To 2.0.2

2014-06-18 Thread David Trowbridge
You can create the apache configs by hand by copying the templates and
modifying them with the appropriate paths. The files you'll want are
apache-wsgi.conf.in and reviewboard.wsgi.in (see
https://github.com/reviewboard/reviewboard/tree/master/reviewboard/cmdline/conf
)

I'm not entirely sure what you mean by adverse effects. Running with
mod_python can have some strange bugs (which is why django removed it), but
I'd be surprised if it was anything that would cause permanent data loss.
I'd suggest migrating over to mod_wsgi as soon as convenient, though.

-David


On Tue, Jun 17, 2014 at 5:47 PM, celli...@aechelon.com wrote:

 We just upgraded our install from 1.6.11 to 2.0.2 and had serious problems
 getting things running because we were using the modpython Django library
 with the mod_python Apache module and that hasn't been supported for
 awhile. Since Django no longer supports modpython I'm wondering how I
 migrate to wsgi? If I have the mod_ wsgi Apache module loaded I'm assuming
 the only other thing that I need to do is update my Apache configuration
 file, is that accurate? How do I get a sample apache-wsgi.conf generated so
 I can modify my config with the correct data? Also, in the mean time, I
 copied over the modpython libraries from the 1.3.3 Django site-packages
 directory to the Django 1.6.5 site directory and this hack seems to have
 gotten things working again in the short term, do you think this could have
 any adverse effects on my site? Please let me know. Thanks.

 Also, we're running on CentOS 6.5, Apache 2.2.15, and Python 2.6.6.

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Migrating From modpython To wsgi After Upgrade From Reviewboard 1.6.11 To 2.0.2

2014-06-17 Thread celliott
We just upgraded our install from 1.6.11 to 2.0.2 and had serious problems 
getting things running because we were using the modpython Django library 
with the mod_python Apache module and that hasn't been supported for 
awhile. Since Django no longer supports modpython I'm wondering how I 
migrate to wsgi? If I have the mod_ wsgi Apache module loaded I'm assuming 
the only other thing that I need to do is update my Apache configuration 
file, is that accurate? How do I get a sample apache-wsgi.conf generated so 
I can modify my config with the correct data? Also, in the mean time, I 
copied over the modpython libraries from the 1.3.3 Django site-packages 
directory to the Django 1.6.5 site directory and this hack seems to have 
gotten things working again in the short term, do you think this could have 
any adverse effects on my site? Please let me know. Thanks. 

Also, we're running on CentOS 6.5, Apache 2.2.15, and Python 2.6.6. 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.