Koozali.org: home of the SME Server

how do I change from ibay to opt

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
how do I change from ibay to opt
« on: March 21, 2007, 03:07:11 PM »
how do I change from ibay to opt

Q1. I want to make changes from the ibay to the opt directory, how would I change the httpd.conf fragement file to work in the opt directory
what changes would I need to make to the template below. I have tried many different ways, but, so far, this is the only way I have got this
program to work, using this method


#Metadot

ServerName www.mydomain1.com.au
DocumentRoot "/home/e-smith/files/ibays/Primary/html/metadot/"
Alias /images/ /home/e-smith/files/ibays/Primary/html/images/
Alias /js/ /home/e-smith/files/ibays/Primary/html/js/
Alias /index.pl /home/e-smith/files/ibays/Primary/html/metadot/index.pl
Alias /public/   /home/e-smith/files/ibays/Primary/html/sitedata/public/
Alias /skins/    /home/e-smith/files/ibays/Primary/html/sitedata/skins/
Alias /htmlarea3/ /home/e-smith/files/ibays/Primary/html/js/htmlarea3/
Alias /private/  /home/e-smith/files/ibays/Primary/html/sitedata/private/
Alias /userchannel.pl /home/e-smith/files/ibays/Primary/html/metadot/userchannel.pl

<Directory   "/home/e-smith/files/ibays/Primary/html/metadot">
   Options +Indexes +Includes +FollowSymLinks -MultiViews
    AllowOverride All
   SetHandler   cgi-script
   PerlHandler   speedy::Registry
   PerlSendHeader   On
   Options      +ExecCGI
   AddType application/.html .pl .pm .cgi
   DirectoryIndex   index.pl
</Directory>


Q.2 When creating domains, you are asked to point it to a ibay, how do I created a template fragement to point to the opt directory for that domain name???


www.domain1.com to point to /opt/domain1

www.domain2.net to point to /opt/domain2
.........

Offline hardijs

  • ****
  • 77
  • +0/-0
not an easy way
« Reply #1 on: March 28, 2007, 01:18:46 PM »
the problem is twofold - first we need to remove the fragment that does generate the http.conf part where it does describe the ibays and their behaviour.

Also I believe that without "serious editing" ( :lol: ) by using some ifs its impossible to mix some ibays and some /opt based directories.


Is there any particular reason why ibay will not suit? The /opt directory is inacessable for the network users unless of course you make a symlink    :D