Hi All,
I got wiki up and running on the first page (wiki.phtml). My environment is Redhat 7.1 with MySQL 3.23.36 , Apache 1.23, and php 4.2.1. MySQL, apache, and PHP works fine.
Wiki does not seem to work correctly. On the first page, the link to "edit page" does not allow me to edit the first page. Second, any links to /wiki/special:xxx such as /wiki/special:ListUsers does not work. I got error :
"The requested URL /wiki/special:ListUsers was not found on this server."
I don't know whether I misconfigure anything or because I just don't know how to administrate/use it. I can't seem to find the user/admin manual either.
Can someone point me to any any documents ?
Thanks, Nick
We use the "RewriteRule" directive to rewrite the /wiki/ subdirectory to point to wiki.phtml. Like this:
RewriteEngine on RewriteRule ^/wiki/(.*)$ /wiki.phtml?title=$1 RewriteRule ^/wiki/wiki.phtml(.*) /wiki.phtml$1
The first RewriteRule handles the requests for /wiki/*, and the second fixes what the first one breaks. These are Apache directives, and I beleive they rely on having mod_rewrite compiled in (or dynamically loaded).
Jason Richey
Nick Kanakakorn wrote:
Hi All,
I got wiki up and running on the first page (wiki.phtml). My environment is Redhat 7.1 with MySQL 3.23.36 , Apache 1.23, and php 4.2.1. MySQL, apache, and PHP works fine.
Wiki does not seem to work correctly. On the first page, the link to "edit page" does not allow me to edit the first page. Second, any links to /wiki/special:xxx such as /wiki/special:ListUsers does not work. I got error :
"The requested URL /wiki/special:ListUsers was not found on this server."
I don't know whether I misconfigure anything or because I just don't know how to administrate/use it. I can't seem to find the user/admin manual either.
Can someone point me to any any documents ?
Thanks, Nick
Wikitech-l mailing list Wikitech-l@ross.bomis.com http://ross.bomis.com/mailman/listinfo/wikitech-l
Hi All,
Thanks Jason and lcrocker to point me out. It turns out that this is one of the problem. The other problem I had was with PHP 4.2.1. I switched to PHP 4.1.2 and I can edit the page afterward.
I think the root cause of the problem comes from wiki.phtml which has $action as global; PHP 4.2.1 by default does not allow variable from GET/POST to be global. The php.ini sets the variable "register_globals" to be off. I switched to PHP 4.1.2 which has this variable on and things seem to work.
-Nick
On Thu, 13 Jun 2002, Jason Richey wrote:
We use the "RewriteRule" directive to rewrite the /wiki/ subdirectory to point to wiki.phtml. Like this:
Hi All,
Wiki does not seem to work correctly. On the first page, the link to "edit page" does not allow me to edit the first page. Second, any links to /wiki/special:xxx such as /wiki/special:ListUsers does not work. I got error :
"The requested URL /wiki/special:ListUsers was not found on this server."
wikitech-l@lists.wikimedia.org