Koozali.org: home of the SME Server

acsess to ibays for virtual domains

stolpjo

acsess to ibays for virtual domains
« on: May 07, 2005, 08:32:18 AM »
i can only reach a virtual domain with https://mydomain.com not with http://mydomain.com i´ve changed permissions on all maps from ibays downwards to full access still i cant reach my site from internet without secure http anyone who knows what to do, im not very good at linux so i use mc to move around so a beginners description would be appreciated thanx for any and all help in advance

Offline raem

  • *
  • 3,972
  • +4/-0
acsess to ibays for virtual domains
« Reply #1 on: May 07, 2005, 08:38:01 AM »
check the access rights settings for the ibay in server manager
...

stolpjo

this is my config
« Reply #2 on: May 07, 2005, 08:51:16 AM »
Information bay name mydomain    
Description  
Group   Everyone
User access via file sharing or user ftp   Write = group, Read = everyone
Public access via web or anonymous ftp   Entire Internet (no password required)
Execution of dynamic content (CGI, PHP, SSI)   enabled
That ought to be as open as it gets ?

stolpjo

where to find temp index.htm
« Reply #3 on: May 07, 2005, 09:05:56 AM »
where to find temp index.htm
i get to a page    "This web site is under construction"
which i cant seem to find to edit either
where should this file be situated?

Offline raem

  • *
  • 3,972
  • +4/-0
acsess to ibays for virtual domains
« Reply #4 on: May 07, 2005, 09:14:51 AM »
index file location for ibays is
/home/e-smith/files/ibays/ibayname/html
and for the primary ibay is
/home/e-smith/files/ibay/Primary/html
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: this is my config
« Reply #5 on: May 07, 2005, 09:22:22 AM »
stolpjo

> User access via file sharing or user ftp   Write = group, Read = everyone
> Public access via web or anonymous ftp   Entire  Internet (no password required)

Looks OK, I created an ibay with same name and it works fine using http://...
Here are the permissions and ownership for you to compare (in case you have been playing around and changed something).

# ls -al

drwxr-xr-x    6 root     root         4096 Nov 20  2003 mydomain

mydomain]# ls -al

drwxr-xr-x    6 root     root         4096 Nov 20  2003 .
drwxr-xr-x   10 root     root         4096 May  7 17:11 ..
drwxrwsr-x    2 root     shared       4096 Nov 20  2003 .AppleDesktop
drwxrwsr-x    2 root     shared       4096 Nov 20  2003 cgi-bin
drwxrwsr-x    2 root     shared       4096 Nov 20  2003 files
drwxrwsr-x    2 root     shared       4096 May  7 17:11 html

html]# ls -al

drwxrwsr-x    2 root     shared       4096 May  7 17:11 .
drwxr-xr-x    6 root     root         4096 Nov 20  2003 ..
-rw-rw-r--    1 root     shared        260 May  7 17:11 index.html

All I could suggest is that you delete the ibay and create it again.
...

stolpjo

acsess to ibays for virtual domains
« Reply #6 on: May 07, 2005, 10:13:53 AM »
thanx a lot Ray though it seems that i accidentally made /files/primary to some kind of a symlink so i copy /files/ibays/Primary to files/primary an make a comparison with a nother gateway for access rights is there anything else i should be aware of to check?
appreciate greatly all help regards AKA Joakim

Offline raem

  • *
  • 3,972
  • +4/-0
acsess to ibays for virtual domains
« Reply #7 on: May 07, 2005, 10:50:15 AM »
Be careful what you are doing. There is by default a symlink in
/home/e-smith/files ~primary
to
/home/e-smith/files/ibays/Primary

cd /home/e-smith/files
ls -al

drwxr-xr-x    6 root     root         4096 Nov  9  2002 .
drwxr-xr-x    9 admin    admin        4096 May  7 17:39 ..
drwxr-xr-x   10 root     root         4096 May  7 17:11 ibays
lrwxrwxrwx    1 root     root           33 Mar 12 21:50 primary -> /home/e-smith/files/ibays/Primary
drwxr-xr-x    5 root     root         4096 Feb  6  2004 samba
drwxr-xr-x    3 root     root         4096 Jun 27  2003 server-resources
drwxr-xr-x   27 root     root         4096 May  4 12:26 users


As I said before, why not delete the ibay and create it again in server manager, it should be configured correctly that way.
...

stolpjo

acsess to ibays for virtual domains
« Reply #8 on: May 07, 2005, 01:18:08 PM »
yes sorry never mentioned that i´ve already tried to do the ibay over via restart to no avail.
if this doesn´t work is it safe enough to upgrade to 6.5 over the faulty os to get it corrected?

stolpjo

acsess to ibays for virtual domains
« Reply #9 on: May 07, 2005, 01:29:36 PM »
just noticed that if i write http://mydomain.com/index.htm
then it works fine where do i change default file pointers for this map ? anyone who knows?
:=) /J