#python - Sun 18 Feb 2007 between 13:02 and 13:15

NY Lost Funds



hazynrghow can i check if a file is a symlink?
Karqlhazynrg: os.stat
bzedKarql: you really don;t want tu run your apps as root. just start them as a normal user
Karqland os.stat_result
Velosoos.path.islink?
Karqlbzed: I don't want to use as a root but as a owner of application not as a http demon user
hazynrgthanks :)
Karqlhazynrg: pydoc stat
bzedKarql: i guess that /usr/sbin/suexec_lighttpd takes care of that then. it should have the suid bit then. you wanna read the docs
KarqlS_ISLNK(mode)
bzedos.path.islink?
Karqlbzed: suexec_lighttpd it's program which i've commpiled from apache and it's work well with rails apps
gus321BlastoffFolks, any pointers on where to find good python programmers to hire
hazynrgKarql: and how can i get the destination of the link?
Karqlbut not with django
bzedKarql: whynot?
Karqllighttpd does not start
wait i show you config
http://phpfi.com/205037
sqadcan anyone give me suggestions on popular python html parser libraries they use? main concern is EOU (ease-of-use)
i want to throw a quck-n-dirty solution into my app, so don't want to spend too much time on this
Karqlsqad: I like re.* :D:D:D:D:D
:D
sqadoy :-)
bzedKarql: http://www.djangoproject.com/documentation/fastcgi/
Karqlbzed: i've read this
bzedsqad: have a soup ;)
Karqlbzed: django works on lighttpd user
sqadaha, BeautifulSoup
bzedsqad: yes ;) http://www.crummy.com/software/BeautifulSoup/
Karqlbut i have several users and i don't want that one to another reads settings.py etc.
sqadshowed up as #1 in google search -- i imagine it must mean something :-)
ok coolness, thanks
bzedKarql: let them run the fastcgi server as ther userid and tell lighttpd to connect to the fastcgi-sockets
Karqlbzed: Can I compile python scripts to binary on linux. If yes I'll do that and set suid
Snoronyeah, .pyc files are the compiled bytecode
you can compile easily using python
Karqlyes bytecode but it's depend python intrpreter
i though about that
bzedsuid is evil, don't use it

Page: 5 12 19 26 33 40 

IrcArchive

NY Lost Funds