[Moin-user] Error accessing page after moving to new server

Rick VanDerveer rickvanderveer at yahoo.com
Tue Apr 24 22:08:18 EDT 2007


hrmm... I think maybe your answer is on this page?

http://moinmoin.wikiwikiweb.de/HelpOnConfiguration/ApacheVoodoo

-Rick



----- Original Message ----
From: Yusuf Abdulghani <yaghani at mac.com>
To: Yusuf Abdulghani <yaghani at mac.com>; Moin-user <Moin-user at lists.sourceforge.net>
Cc: Rick VanDerveer <rickvanderveer at yahoo.com>
Sent: Monday, April 23, 2007 5:00:27 PM
Subject: Re: [Moin-user] Error accessing page after moving to new server

Oh didn't to send it to the list...So here it is. 

Yusuf

On Apr 23, 2007, at 2:32 PM, Yusuf Abdulghani wrote:

Hi Rick, 

I checked the permissions. They seem to be set right. 


The old wiki used to live it "http://subdomainA.domain.com/mywiki". 


I want the new wiki to live in "http://subdomainB.domain.com". 


In order to do this I set up the default httpd configuration file under directory /etc/httpd/sites/ as follows: 


        Alias "/wiki/" "/usr/local/share/moin/htdocs/"
        ScriptAlias / "/Volumes/Clack/wiki/mywiki/moin.cgi"


The wiki is accessed via http://subdomainB.domain.com. This does not work. Only FrontPage shows successfully (which is explicitly set in the wikiconfig.py). Cannot access any other pages, although they do exist and permissions is set correctly. 


If I change the ScriptAlias to say: 


        ScriptAlias /mywiki "/Volumes/Clack/wiki/mywiki/moin.cgi"


and then access my wiki though http://subdomainB.domain.com/mywiki, everything seems to work fine. I can see and edit all pages. 


Any ideas how to set up the wiki so that I can access directly via subdomain. 


Thanks for your help. 




Yusuf

On Apr 23, 2007, at 1:12 PM, Rick VanDerveer wrote:

Check permissions?

Also, when I were migrate my wiki to a new server, this is what I do:
 - set up new server, configured and working the way I expect it should be (test to make sure you can create pages, etc).
 - Once everything is working, copy in the 'data' directory from the old server to the new.  Everything should just work.

I've performed this trick many-many times now.  For example, I have my 'live" server that everyone uses. But, if I want to play with the back-end, I duplicate it to a spare box or VMware (Mac: think Parallels) session.

Also, if you care, you can pretty easily upgrade Python to 2.5, which is faster than 2.3.  I have instructions here:
http://moinmoin.wikiwikiweb.de/RickVanderveer/ApacheOnMacOsx
-Rick




 
Sorry, did'nt send out system spec before:  

 Here is what I am running: 
 

 Release 1.5.7
 Revision release
 Python version 2.3.5 (#1, Jul 25 2006, 00:38:48) 
 [GCC 4.0.1 (Apple Computer, Inc. build 5363)]
 Python installed to /System/Library/Frameworks/Python.framework/Versions/2.3
 PyXML is NOT installed
 

 Thanks. 
 

 Yusuf
 
   On Apr 23, 2007, at 12:51 PM, Yusuf Abdulghani wrote:

 Hi,   

  I just moved our wiki to a new server. After installing the wiki to   the new server, I get the following message when I try to run the   ?action=test: 
  

  testBasicPackageThings   (MoinMoin._tests.test_packages.UnsafePackageTestcase) ... ERROR
  

  

  I am also not able to go to any subpages in the wiki. Only the   "FrontPage" is visible and the rest of the pages are not accessible. I believe   the only reason "FrontPage" shows up is because I have set it to show up   explicitly in my wiki_config.py file. If I click on any pages, it give me the   following error message: 
  

Not   Found
  The requested URL /FrontPage   was not found on this server.
  

  Additionally, a 404 Not Found   error was encountered while trying to use an ErrorDocument to handle the   request.
  

  

  

  Any ideas what I might be doing wrong. Any recommendations? 
  

  Thanks. 
  

  Yusuf
  

  

  -------------------------------------------------------------------------
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2   express and take
  control of your XML. No limits. Just data. Click to   get it now.
  http://sourceforge.net/powerbar/db2/_______________________________________________
  Moin-user mailing list
  Moin-user at lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/moin-user




-------------------------------------------------------------------------

This SF.net email is sponsored by DB2 Express

Download DB2 Express C - the FREE version of DB2 express and take

control of your XML. No limits. Just data. Click to get it now.

http://sourceforge.net/powerbar/db2/
_______________________________________________

Moin-user mailing list

Moin-user at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/moin-user







       Ahhh...imagining that irresistible "new car" smell?
 Check out new cars at Yahoo! Autos.-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
Moin-user mailing list
Moin-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
 










__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20070424/3132c535/attachment.html>


More information about the Moin-user mailing list