Re: comments plugin...slow?
gabor <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <1084949695.13436.10.camel@dubb> |
On Tue, 2004-05-18 at 22:35 -0400, Joe Gregorio wrote: > gabor wrote: > ... > > for now i am fighting with a permission problem... > > > > i am not a root on the server where i have pyblosxom... > > > > and the comment files (same problem with xml-rpc blogging) > > get created as owner:apache, group:apache... > > so i basically cannot read them when logged into the server using > > ssh :)) > > > > for now i tried to give the logfiles o+r and o+w, with > > doing os.chmod(commentfile,0666),but it seems to be not the real > > solution... > > > > how do you solve this? > > One way to solve this is to run > your scripts under suExec[1]. This feature > of Apache runs your CGI scripts with your > user ID, so files created by the CGI script > will be owned by you. For me it was just a > matter of asking my hosting provider to > turn it on. > > Warning: if you do get suExec turned on > you may need to change some of your > file permissions. suExec is pretty paranoid > about permissions and will not run your CGI > unless it passes all of its criteria. hmmm.. i will have to persuade my admin to use it :>> hmmm... is this not less secure than without-suexec... basically..do you have some good argument i could tell my admin ? :) gabor ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click