On 03/04/2011 06:48 PM, neurino wrote:
@Lance Edgar: I see you have no setting of enviroment variable
PYTHON_EGG_CACHE in your WSGI script, how do you deal with it?
I had to add it in apache conf files with SetEnv and also export it in
/etc/profile to get rid of permission problems coming up here and
there: I have a daemon that monitors various ftp servers and I wish I
can start it from pylons app or from terminal.
I thought I could remove at least form wsgi script getting it from
apache but no way.
Sorry if I misled you there. ;) The test script I'd included was just
that of course - a test. What you didn't see was my test config in
Apache where I told the WSGI daemon process to use my user account
instead of e.g. www-data, which meant permissions weren't an issue:
WSGIDaemonProcess pylons-test user=lance
WSGIScriptAlias /pylons-test
/home/lance/.virtualenvs/pylons_test/app/test.wsgi
<Directory /home/lance/.virtualenvs/pylons_test/app>
WSGIProcessGroup pylons-test
</Directory>
> I just treat this as one step I have to do after creating an application
My point is not I have to delete index.html after project creation but
*every time* I create an egg of a new version of an existing app i.e.
there's a index.html in it even if I don't have one in my public
folder since weeks.
It's quite funny and not a hassle anyway: after initial deployment I
came up with 3/4 bugfixing versions a day, every time forgetting to
delete index and every time having my colleagues saying "hey I can't
login there's this page instead" :)
In that case I think you just have a copy of public/index.html hanging
around in your build folder. Try removing that (<project>/build) and
run setup.py bdist_egg again.
Lance
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.