Koozali.org: home of the SME Server

Virtual Domains & Symbolic Links - What am I doing wrong

Jakeo

Virtual Domains & Symbolic Links - What am I doing wrong
« on: April 21, 2004, 07:38:31 PM »
I want to make the webmail accessible as a subdirectory of an ibay.

So I do

ln -s /home/httpd/html/horde/ /home/e-smith/files/ibays/bristo/mail

I then want to make this ibay available to the whole internet through a virtual domain

so I do
ln -s /home/e-smith/files/ibays/bristo/html /home/e-smith/files/ibays/Primary/html/bristo

now from my virtual domain if I go to /bristo/ I get the standard "Ibay not customized" message

but my /bristo/mail/ does not work. Have I just got it wrong somewhere simple?

R

Offline hardijs

  • ****
  • 77
  • +0/-0
htaccess would be the right one
« Reply #1 on: April 21, 2004, 07:44:21 PM »
the link is actually linking to a structure on the sme_local disc.
most probably httpd does not have access to the dir (at least in most contexts)
 
a htaccess rule would be the right way to do this