[mythtv-users] rh9, virtual hosts, PrettyWiki or just plain Working?

Bishop bishop at platypus.bc.ca
Fri Dec 19 18:40:28 EST 2003


http://phpwiki.sourceforge.net/phpwiki/PrettyWiki

Hey Folks,

Last night was full of frustration.  My goal was to get a virtualhost
PrettyWiki'ed server going with the wiki as its default page, but I was
completely unsuccessful before exhaustion claimed me about 0800.

I'm hoping someone's done this exact thing:

I want to have a centralized phpwiki installation (/var/www/html/phpwiki/
as per
http://apt.platypus.bc.ca/~bishop/apt/RPMS.bish/phpwiki-1.3.7-0.20031219.05.rh9.i386.rpm)
 and use a index.php in the vhost documentroot to start the wiki.  So,
here's my setup so far:
 - RH9 + httpd, php, the usual
http://apt.platypus.bc.ca/~bishop/apt/RPMS.bish/phpwiki-1.3.7-0.20031219.05.rh9.i386.rpm
http://apt.platypus.bc.ca/~bishop/apt/i386/rh9/RPMS.bish/apache-incdirmod-1.4-5.20031208.14.rh9.noarch.rpm
   (that second one sets up dir-tree inclusion of the httpd.d dir)
 - /etc/httpd/conf/httpd.d/virtualhost.default.conf:
      NameVirtualHost *:80
      <virtualhost _default_:80>
      </virtualhost>
 - /etc/httpd/conf/httpd.d/virtuals/wiki.platypus.bc.ca:
(http://cvs.platypus.bc.ca/cgi-bin/viewcvs.cgi/*checkout*/bishop/virtualhosts/virtuals/wiki.platypus.bc.ca?rev=1.1)
        <VirtualHost *:80>
	ServerName	www.wiki.platypus.bc.ca
	ServerAlias	wiki.platypus.bc.ca
	ServerAlias	www
	ServerAdmin	webmaster at wiki.platypus.bc.ca
	DocumentRoot	/home/wiki/wiki

	ErrorLog	logs/wiki.platypus.bc.ca/error_log
	CustomLog	logs/wiki.platypus.bc.ca/access_log combined

	UserDir		disabled
        </VirtualHost>

        <Directory /home/wiki>
	Order Allow,Deny
	Allow from All
	Options +Indexes
	AllowOverride AuthConfig
        </Directory>

        <Directory /home/wiki/wiki>
	Options +Includes
	Options +ExecCGI
	AllowOverride FileInfo
        </Directory>

now, when I hit the URL:
/var/www/html/phpwiki/lib/Template.php:21: Warning[2]: fopen("", "rb") -
No such file or directory
/var/www/html/phpwiki/lib/Template.php:22: Warning[2]: stat failed for
(errno=2 - No such file or directory)
/var/www/html/phpwiki/lib/Template.php:22: Warning[2]: fread(): supplied
argument is not a valid File-Handle resource
/var/www/html/phpwiki/lib/Template.php:23: Warning[2]: fclose(): supplied
argument is not a valid File-Handle resource
/var/www/html/phpwiki/lib/Template.php:21: Warning[2]: fopen("", "rb") -
No such file or directory
/var/www/html/phpwiki/lib/Template.php:22: Warning[2]: stat failed for
(errno=2 - No such file or directory)
/var/www/html/phpwiki/lib/Template.php:22: Warning[2]: fread(): supplied
argument is not a valid File-Handle resource
/var/www/html/phpwiki/lib/Template.php:23: Warning[2]: fclose(): supplied
argument is not a valid File-Handle resource
/var/www/html/phpwiki/lib/Theme.php:195: Notice[1024]:
templates/browse.tmpl: not found
/var/www/html/phpwiki/lib/Theme.php:195: Notice[1024]:
templates/html.tmpl: not found

SO: What I'm thinking, right now, is that I'm not using this as per
directions on the bottle.  There may be a bug in the code, and indications
are that it's near the theming bit, that make a centrally-loated phpwiki
installation and vhost configs impossible.

Anyone else successfully used a centrally installed phpwiki with
replacement 'wiki' files located in other parts of the system?

Yours in potential frustration,
 - bish



More information about the mythtv-users mailing list