[pmwiki-users] Page not found not working properly

pmwiki at 911networks.com pmwiki at 911networks.com
Tue Aug 7 12:26:18 CDT 2007


Hi,

I used pmwiki 2.20beta57, credits and versions are on:
http://www.sqlhacks.com/index.php/About/Credits

I have created a page:
Site/Site.PageNotFound

my .htaccess says:

## Enable Apache rewrites
RewriteEngine on
#
RewriteCond %{HTTP_HOST} !^www\.sqlhacks\.com$ [NC]
RewriteRule ^(.*)$ http://www.sqlhacks.com/ [L,R=301]

# Rewrite Google 404 probes to a page that will actually give a 404
RewriteRule ^GOOGLE404 /google404 [QSA,L] 

## If page not found, display the sitemap
ErrorDocument 404
http://www.sqlhacks.com/index.php/Site/Site/PageNotFound


my config.php says for the subdirectory per group:

$WikiDir = new PageStore('wiki.d/$Group/$FullName');
*****************************************************

When I do a:

http://www.sqlhacks.com/index.php/Site/Site.PageNotFound
or 
http://www.sqlhacks.com/index.php/Site/Site/PageNotFound

I get: PmWiki can't process your request

?invalid page name

We are sorry for any inconvenience.

Return to http://www.sqlhacks.com/index.php
*****************************************************
When do: http://www.sqlhacks.com/wrong_page_name
I get the same:
PmWiki can't process your request

?invalid page name

We are sorry for any inconvenience.

Return to http://www.sqlhacks.com/index.php
*****************************************************
When I do: http://www.sqlhacks.com/index.php/wrong_page
I get an empty page

I'd like to get the site map if it's the wrong pagename.

Site/Site.PageNotFound has:

version=pmwiki-2.2.0-beta57 ordered=1 urlencoded=1
agent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty)
author=Syv Ritch
charset=ISO-8859-1
csum=Wording
host=192.168.2.111
name=Site.PageNotFound
rev=43
targets=
text=(:nolinkwikiwords:)%0a(:noaction:)%0a(:if name {$SiteGroup}.PageNotFound:)%0a-> %25green font-style:italic%25 [+'''This page does not exist anymore.  Here is the map of SQLHacks.com'''+]:%0a(:pagelist fmt=#bygrouptitle:)%0a%0a(:if:)%0a%0a
time=1182629350
author:1182629350=Syv Ritch
csum:1182629350=Wording
diff:1182629350:1182189358:minor=4c4%0a%3c -> %25green font-style:italic%25 [+'''This page does not exist anymore.  Here is the map of SQLHacks.com'''+]:%0a---%0a> -> %25green font-style:italic%25 [+'''This page does not exist anymore.  Here is the sitemap'''+]:%0a
host:1182629350=192.168.2.111

**********************************************

Any suggestion?


-- 
Thanks
http://www.sqlhacks.com
The SQL Server knowledge base



More information about the pmwiki-users mailing list