Making a shorter shebang

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Oct 14 12:36:38 EDT 2006


In <1160841802.218222.60510 at h48g2000cwc.googlegroups.com>, veracon wrote:

> Actually, it appears to still be using the default binary
> (/usr/bin/python). Can I be sure it's actually reading the .profile
> file? I'm executing through regular CGI in Apache.

The `~/.profile` is executed when *you* log into your account.  CGI
scripts are executed by the web server which usually has its own user and
group,  `wwwrun` or something like that, and does not read the `.profile`
in your home directory.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list