Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: EdelingF on January 09, 2005, 08:31:25 PM

Title: redirect primary website to ibay
Post by: EdelingF on January 09, 2005, 08:31:25 PM
I have installed xoops in a ibay and I would like to make it more easy to find.
I've read something about redirecting the primary website (www.mydomain.nl) to this ibay, but I can't find this topic anywhere.
Is there anyone willing to tell the same story again?
Title: redirect primary website to ibay
Post by: mrjhb3 on January 10, 2005, 05:05:22 AM
In server-manger go to domains, then modify your primary domain, then click on content down arrow and choose your ibay for xoops.  Note it doesn't show the ibay names, it shows what you put in for a description for the ibay.

Now when you go to your primary site, you will actually be pulling content from your xoops ibay.

GL,

JB
Title: redirect primary website to ibay
Post by: EdelingF on January 10, 2005, 10:22:33 AM
Thanks!
Is it redirecting straight to the ibay or is it also possible to direct to a certain directory?
I have followed an howto and xoops is now installed in a rather uneasy to find place: www.domain.nl/map/map2.0.9/html
Title: redirect primary website to ibay
Post by: kmac on January 10, 2005, 11:58:09 AM
Another way to redirect it would be to copy the following code and make it your index.html in your primary html folder:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<meta http-equiv="Refresh" Content="0; URL=http://www.domain.nl/map/map2.0.9/html">
</head>
<body>

</body>
</html>
Title: redirect primary website to ibay
Post by: EdelingF on January 10, 2005, 10:04:56 PM
Yes, I've thought of that, but is there a way to mask the path to the xoops website.
I would like to make it look like it's www.domain.nl
Or should I just reinstall in a different way?
Title: redirect primary website to ibay
Post by: mrjhb3 on January 11, 2005, 03:13:24 AM
You could have a look in /etc/httpd/conf/httpd.conf and possibly change your document root.  You should also have an entry after <VirtualHost 0.0.0.0:80> with some settings.

I have not tested this but, that looks like where you should start your investigating.

JB