Re: comments plugin...slow?

Joe Gregorio <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
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.

	-joe

[1] http://httpd.apache.org/docs/suexec.html

> 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
> _______________________________________________
> pyblosxom-users mailing list
> pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
> 


-- 
http://BitWorking.org
http://WellFormedWeb.org


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.