Koozali.org: home of the SME Server

questions about redirect and phpgedview

Offline gixmo

  • ***
  • 63
  • +0/-0
    • http://www.gixmo.nl
questions about redirect and phpgedview
« on: May 16, 2007, 10:14:23 AM »
I first installed phpgedview in an ibay called genealogy but when i needed it to intgrate with my joomla (in the primary ibay) i didn't work. So now i have copied al the files from genealogy into a subdir phpgedview directly under the html dir of my primary ibay. The integration with joomla works fine now.

Now i want searchbots that still are looking to the genealogy ibay to redirect to the subdir phpgedview of my primary ibay.

So far i've done the following
Quote
db accounts setprop genealogy AllowOverride All

and following that
Quote
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/rc7.d/S86httpd-e-smith restart


then i've edited .htaccess of the genealogy ibay and put in the following
Quote
Redirect permanent / http://www.gixmo.nl/phpgedview/

but it doesn't work like i want to.
When i point my browser to http://www.gixmo.nl/genealogy it is redirected to http://www.gixmo.nl/phpgedview/genealogy but i want it to go to http://www.gixmo.nl/phpgedview/
How can i make sure it works like i want to.

Secondly phpgedview uses an index directory. I want to move this directory to the files directory of the primary ibay so it isn't vissible from the internet. In phpgedview itself i can tell that the index directory is now in /home/e-smith/files/ibays/Primary/files/index instead of ./index
But that doesn't work, phpgedview cant find the index directory.
Does anyone have usefull tips?