Bashrc problem

I’m trying to get my cgi python scripts to run under a python 2.6 install i have in ~/packages/. I’ve setup my .bashrc to be

~/.bashrc: executed by bash(1) for non-login shells.

export PATH="~/packages/bin:$PATH"

Everything is working fine for login shells, but scripts running via the web still have PATH as just
So /usr/bin/python is used instead of ~/packages/usr/bin/python

Am I just overlooking something simple here?

I’ve found defaults paths are always used when calling shell from web.

Set your full paths in a preloader (that then calls your script).

web -> preloader ->

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost