Re: [Install] how to install with Lighttpd?
Greg Ryman <gregr-bZ4IA00AxLI9DSYl/7C2QwC/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | Prime Internet, LLC. |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 How do I unsubscribe? Zoom Quiet wrote: > 2006/1/10, Blake Winton <blake-dlUKtbW3TlBcVw/[email protected]>: > >>>>(My guess is that either the file is not executable, or the >>>> first line of the file is not pointing at the right place >>>> for your python. "which python" should show you where your >>>> python lives.) >>> >>>You guessed perfectly! >> >>I'm quite clever. ;) >> >> >>># /usr/local/www/data/pyblosxom/zoomquiet.org/pyblosxom.cgi >>>/usr/local/www/data/pyblosxom/zoomquiet.org/pyblosxom.cgi: >>>Command not found. >>>but! >>># whereis python >>>python: /usr/local/bin/python >>> >>>so so i edit pyblosxom.cgi is:""" >>>#!/usr/local/bin/python >>>##/usr/bin/env python >>>""" >>>in lighttpd.error.log report:: >>>... >>>2006-01-10 07:31:31: (mod_cgi.c.947) CGI failed: Permission denied >>>/usr/local/www/data/pyblosxom/zoomquiet.org/pyblosxom.cgi >>>mod_cgi.c.950: aborted >>>2006-01-10 07:31:32: (mod_cgi.c.1176) cgi died ? >>>... >>>Mnnn... what happen? >>>thanx for any suggest. >> >>Apparently you don't have permission to execute it... >> >>Now that you've fixed the first problem, what do you get when you >>type: >>/usr/local/www/data/pyblosxom/zoomquiet.org/pyblosxom.cgi >>at the command line? >> >>(My next guess is that the file doesn't have the execute permission >> set, or if you type >>ls -al /usr/local/www/data/pyblosxom/zoomquiet.org/pyblosxom.cgi >> it won't have a "x" in the first few characters... Perhaps it >> will have a "x" for the user, but not for everyone, which could >> be a problem if the lighttpd was running as someone other than you.) >> >>Let me know. > > thanx clever guy! > it's right u point out error! > btw i try fixed the /usr/local/lib/python2.4/site-packages/Pyblosxom > as chmod -R 775 > but now it report:""" > Somehow I cannot find the page you want. > """http://blog.zoomquiet.org/ > > in fact i runnning PyBlosxom under apache now, so so in conf: > ... > ServerName blog.zoomquiet.org > ## Zoomq::051017 YSBd support > ScriptAlias / > "/data1/www/blog.woodpecker/pyblosxom/zoomquiet/web/pyblosxom.cgi" > <Directory "/data1/www/blog.woodpecker/pyblosxom/zoomquiet/web"> > Options ExecCGI FollowSymLinks > ... > > Mnnn so hard to running PyBlosxom! > that dir:: > host# ll /data1/www/blog.woodpecker/pyblosxom/zoomquiet/data > total 4 > drwxrwxr-x 7 www www 512 Jan 11 01:07 .svn > -rwxrwxr-x 1 www www 57 Jan 11 00:42 FristBlog > host# cat /data1/www/blog.woodpecker/pyblosxom/zoomquiet/data/FristBlog > First Post > <p> > This is the first post in my blog. > </p> > > i think everything is right?! > > thanx for any clever suggest.... > > >>Later, >>Blake. >> > > > > -- > # Time is unimportant, only life important! > ## 面朝开源,我心自由! > N�HY隊X���'���u���[������� > ަ�k��!���W�~�鮆�zk��C� 塧m����@^ǚ��^��z�Z�f�z�j�!�x2�������ɫ,���a{��,�H��4�m���i�(��ܢo�v'��jYhr'ׯ:�rX������1�k�z�&j)b� b��rnZ,Ɖ����+-��.�ǟ����a��l��b��,���y�+���b��?�+-�w������1�k�ers= - -- Greg Ryman Engineering Supervisor Prime Internet, LLC. gregr-bZ4IA00AxLI9DSYl/7C2QwC/[email protected] Phone: 714-669-9638 Mobile: 714-585-7312 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDw+y+8KBSTgc55IgRAqY8AJ0XoDrRp+1BSNHsr57mlJgsaC18FwCg0FoZ q4ptDMo3R4IulRArNZKTAvk= =JWyT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click