Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Jun 29, 2009, 8:08 AM

Post #1 of 12 (553 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo

Status: New
Owner: ----

New issue 515 by zdavatz: Cherokee does not want to open PHP files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

What steps will reproduce the problem?
1. Install Cherokee 0.99.19-r1 on Gentoo x86
2. Configure a Virtual Domain in /var/www/pmwiki.com
3. Try to access localhost.pmwiki.com/pmwiki.php

What is the expected output? What do you see instead?

The Wiki-Starting Page should open. This does not happen. Instead the
browser asks me if I want to save the file to my Desktop. To me this means
that php is not accessed in the right way by Cherokee on Gentoo. This
how-to says to have php-cgi installed. I have that installed:
http://www.cherokee-project.com/doc/config_quickstart.html and it works
perfectly with my Apache.

What version of the product are you using? On what operating system?

Gentoo:

Portage 2.2_rc33 (!/usr/portage/profiles/default-linux/x86/2007.0/,
gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30 i686)
=================================================================
System uname:
Linux-2.6.30-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Sat, 27 Jun 2009 11:00:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r5, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0-r2
sys-apps/openrc: 0.4.2-r1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
1.10.1
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/
/etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned
sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_CH.UTF-8"
LC_ALL="de_CH.UTF-8"
LDFLAGS=""
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/zeno/.software/portage-new"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac accessibility acl admin apache2 berkdb boost cairo cgi cjk crypt
ctype cups curl dbus deprecated discouraged dri encode ffmpeg foomaticdb
fortran gcj gd gdm gnome gpgme gpm gs gtk gtkhtml iconv imagemagick imlib
immqt ipv6 jfs jpeg lua maildir midi mime mmx mp4 mpeg2 mplayer mudflap
mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin openmp openssh
openssl opera pam pcre pda perl php png pop ppds python qt-static quicktime
readline real realmedia regex rpm sasl sdl sdl-image sdl-sound sdlaudio
session skins spreadsheet ssl svg tcpd threads thumbnail tk tracker
truetype unicode utf8 vhook vhosts wv wxwindows x86 xml xorg xvid zip zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa

Please provide any additional information below.

I have not yet managed to configure Cherokee on my Gentoo Box to display a
local Webpage.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 1:21 AM

Post #2 of 12 (525 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #1 on issue 515 by zdavatz: Cherokee does not want to open PHP
files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

Ok, I am continuing this because I find it increasingly more difficult to
configure
Cherokee then to configure Apache! Please see my Attachment for all my
configurations.

http://pmwiki.com.localhost results in my Browser Menubar showing:
file:///tmp/$pageurl and downloading the file to my PC?!?

What I also find very strange is, that when I change the Document Root for
the
Default configuration the status Page still shows me
/var/www/localhost/htdocs even
though I configured it to /var/www and I restarted Cherokee with a
Hard-Restart.

Any Feedback is very welcome but Cherokee and Gentoo are so far a Royal
Pain in the
*ss for me.

Attachments:
pmwiki_does_not_work_on_cherokee.jpeg 95.6 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 1:34 AM

Post #3 of 12 (524 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #2 on issue 515 by binb...@b2host.de: Cherokee does not want to
open PHP files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

please provide screenshot of the behaviour tab + maybe config snippet for
information
sources and vhost

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 1:40 AM

Post #4 of 12 (524 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #3 on issue 515 by zdavatz: Cherokee does not want to open PHP
files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

Thanks for your reply. Here you go. Both files are attached. My Information
Sources
is empty. I did not find any documentation so far on how to use that for a
local
configuration i.e. PMwiki on my local Gentoo Box.

Thank you for your Feedback.

Attachments:
behavior_tab_pmwiki_cherokee.jpeg 70.8 KB
information_sources_settings_vhots_pmwiki_cherokee.jpeg 83.7 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 2:34 AM

Post #5 of 12 (526 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #4 on issue 515 by alobbs: Cherokee does not want to open PHP files
on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

I have to admit, I'm quite surprised, actually.

PHP is trivial to configure with Cherokee. In fact, it's 2 click away from
the default configuration. The only thing you have to do is to
choose the virtual server you want to configure, click "Behavior", then
open the Wizards pane, and click on the PHP wizard. It will do
everything for you. It's pretty straightforward.

BTW, I've spotted a misconfiguration in our screenshots. As the reminder to
the top of the list reads, the behavior rules are evaluated
from top to bottom, and final rules stops the evaluation if one of them if
matched. Having that into account, the most usual set up is
to move the "Extension PHP" rule to the top, and unset the "Final" check.

I'd recommend you to remove both the "Extension PHP" rule and its
associated Information Source, and let the Wizard do its job. That
will most probably solve all the issues you found. (I bet it'd have taken
seconds to configure the server in that way.. :-)

Good luck,
cheers!

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 2:53 AM

Post #6 of 12 (526 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #5 on issue 515 by zdavatz: Cherokee does not want to open PHP
files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

Ok, got that! So I am "forced" to use php with FastCGI, correct? Not a
problem with
that if it would work. Above steps still do not result in any
PHP-pmwiki-page being
shown. I still get file:///tmp/$pageurl when I enter
http://pmwiki.com.localhost/.
Same when I enter http://pmwiki.com.localhost/pmwiki.php

Also what do I need to set as ScriptAlias for the FastCGI handler? See my
screenshots.

At the moment the "Wizard" leaves that blank. I tried /usr/bin/php-cgi as
well, same
result: file:///tmp/$pageurl

Let me know if you need any more screenshots.

Attachments:
php_cherokee_config.jpeg 65.7 KB
fastcgi_php_cherokee_config.jpeg 111 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 3:52 AM

Post #7 of 12 (522 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Updates:
Owner: alobbs

Comment #6 on issue 515 by alobbs: Cherokee does not want to open PHP files
on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

I just gave it a try. Please, check this out:

http://www.alobbs.com/downloads/screencasts/Cherokee-PmWiki.swf


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 5:01 AM

Post #8 of 12 (521 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #7 on issue 515 by zdavatz: Cherokee does not want to open PHP
files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

Ok, many thanks that worked for my Pmwiki on Linux as default Domain! Now I
still do
not get any Log-File-Entries neither for the error-log or for the
access.log. See
Attachment for my configuration.

Attachments:
No_Error_or_Access_Logs.jpeg 72.7 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 5:12 AM

Post #9 of 12 (521 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #8 on issue 515 by zdavatz: Cherokee does not want to open PHP
files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

Ok, ok, I am warming up to Cherokee! ;) slowly. If you want
localhost-Domains you
need to set a "Hostmatch". Do !NOT! think it works with the "Virtual Server
nickname"
i.e.: see Screenshot.

Attachments:
hostmatch_pmwiki_cherokee.jpeg 49.9 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 5:36 AM

Post #10 of 12 (522 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #9 on issue 515 by zdavatz: Cherokee does not want to open PHP
files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

Ok, access-Logs work, Error-Logs do not yet seem to work on my Gentoo.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 9:33 AM

Post #11 of 12 (520 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Updates:
Status: Invalid

Comment #10 on issue 515 by alobbs: Cherokee does not want to open PHP
files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

Everything works alright at this end.. and nobody else have reported what
would have been a tremendous bug. I
suppose the problem is due to some sort of misconfiguration (wrong
permissions in the logging directory
maybe?).

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 30, 2009, 12:47 PM

Post #12 of 12 (519 views)
Permalink
Issue 515 in cherokee: Cherokee does not want to open PHP files on Gentoo [In reply to]

Comment #11 on issue 515 by zdavatz: Cherokee does not want to open PHP
files on Gentoo
http://code.google.com/p/cherokee/issues/detail?id=515

What would the permissions be? Can you be more specific please? I am still
on Gentoo,
and Cherokee does not log any errors on Gentoo. Daniel Robbins fixed it, so
that it
would at least create the log directory but Error-Logging still seems not
to work.
Access-Logging does seem to work. I would not call this invalid, as long as
Error-Logging on Gentoo does work. Thank you for your Feedback.

See: http://code.google.com/p/cherokee/issues/detail?id=512#c6

Please take Gentoo / Funtoo serious!

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.