Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Legacy Forums
Experienced User Forum
Topic:
Gallery and virtual Domains
« previous
next »
+
Print
Pages: [
1
]
Go Down
Gallery and virtual Domains
11 Replies
1946 Views
David W
Gallery and virtual Domains
«
on:
November 07, 2002, 03:19:56 AM »
Am I missing something,
I'm using Gallery on my primary domain with e-smith ver.5.12
I'm hosting 3 domains for some high school classes and would like to use Gallery on all three domains, BUT I need them to be completely separate from each other. I don't want domainb.com/gallery to go to DomainA.com/gallery which is what happens now. The features that Gallery have meet my needs 100% and have looked at others. Dan you out there? Have any Ideas? Currently I stuck Yappa on the other sites,,, I'm not real impressed with it.
Logged
Dan Brown
Re: Gallery and virtual Domains
«
Reply #1 on:
November 07, 2002, 03:33:01 AM »
Don't know how to do domain1/gallery, domain2/gallery, etc., but it should be easy enough to do domain1/gallery1, domain2/gallery2, etc. Just change the directory where you install it, and make several template fragments, one for each directory.
Logged
David W
Re: Gallery and virtual Domains
«
Reply #2 on:
November 07, 2002, 03:48:22 AM »
Yes thats what I meant with the domains, sorry.
I'm not real strong with template fragments, but what your saying is since I have Gallery already installed on domain1, I now need to install a second copy of Gallery but use different directory, say one on domain2 in the Ibay? then make template changes. Would you by any chance be able to point me to which templates to mod? (i'm on my way to your How-to to look at the mods for the first install)
David
david@ezwilson.com
Logged
David W
Re: Gallery and virtual Domains
«
Reply #3 on:
November 07, 2002, 03:53:54 AM »
Correct?
[root@e-smith /root]# mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
[root@e-smith /root]# cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
[root@e-smith httpd.conf]# pico 94gallery2
#-------------------------------------------
# Gallery 1.3
#-------------------------------------------
Alias /gallery2 /opt/gallery2
AddType application/x-httpd-php .php .php3 .phtml
Options Indexes +Includes FollowSymLinks
AllowOverride Options FileInfo
order deny,allow
deny from all
allow from all
Filesystem path to thumbnails for movies: /opt/gallery2/images/movie.thumb.jpg
Album directory: /opt/gallery2/albums
Albums URL:
http://domain2.com/gallery2/albums
Logged
Dan Brown
Re: Gallery and virtual Domains
«
Reply #4 on:
November 07, 2002, 04:01:36 AM »
Looks exactly like what I had in mind.
Logged
David W
Re: Gallery and virtual Domains
«
Reply #5 on:
November 07, 2002, 04:07:13 AM »
Thanks Dan,
Also found some info at
http://gallery.menalto.com/
about virtual domain issues. I'll try it in the morning when I get back into the office.
I'll let you know what happens.
Logged
David W
Re: Gallery and virtual Domains
«
Reply #6 on:
November 07, 2002, 06:24:05 AM »
That Worked Dan,
Thanks for pointing me in the right direction. After making the templates installing was easy. The Albums are even in a secure site with ssl.
David
Logged
Paul
Re: Gallery and virtual Domains
«
Reply #7 on:
January 23, 2003, 08:18:41 AM »
Hi David and Dan.
Thanks of sharing the info..I have 2 questions...I am a new linux user using SME 5.6 and gallery 1.3.3
In the template fragment, should
be
I tried
and got a blank page
#-------------------------------------------
# Gallery 1.3.3
#-------------------------------------------
Alias /gallery2 /opt/gallery2
AddType application/x-httpd-php .php .php3 .phtml
Options Indexes +Includes FollowSymLinks
AllowOverride Options FileInfo
order deny,allow
deny from all
allow from all
Secondly...say you set up 4 gallery's 1-4 for 4 virtual domains...how would you stop domain 1 from "going" to domain 4's gallery other than changing the word or numbers of the gallery. In other words:
www.domain1.com/gallery
www.domain2.com/gallery2
www.domain3.com/gallery3
www.domain4.com/gallery4
Domain4 could enter
www.domain4.com/gallery
and end up in domain1's gallery right? or have I done something wrong.
I am off to gallery pages to read about this...but short term, I am thinking of changing gallery 1-4 to 4 different names just to make it less obvious, if it will work.
www.domain1.com/gallery
www.domain2.com/photos
www.domain3.com/pictures
www.domain4.com/images
Logged
David
Re: Gallery and virtual Domains
«
Reply #8 on:
January 23, 2003, 02:03:03 PM »
Paul,
Question 1:
I'm using SME 5.12 and haven't tried it on 5.6 yet but I will be as soon as 5.6 comes out of beta. I have a new server just waiting to show off it's Dual PIII's.
Question 2:
To keep people out of each others albums I used this how-to for security. I didn't want to have to add "users" with full accounts. When ever a new users want access I use putty and remote in to add the user.
http://www.star-support.com/downloads/mitel/howto/website-access-security-howto.htm
. Worked for me.
Hope this helped. Dan, have you tried this on 5.6 yet?
David
Logged
Terry Brummell
Re: Gallery and virtual Domains
«
Reply #9 on:
January 23, 2003, 02:25:25 PM »
David, 5.6 is out of beta...
http://www.e-smith.org/article.php3&mode=threaded&order=0
Logged
Paul
Re: Gallery and virtual Domains
«
Reply #10 on:
January 23, 2003, 03:14:59 PM »
Thank you David. I had not planned to password protect each gallery, but now I see how that option would work. I guess this is where the I-bay/gallery modification comes in?
Start showing off your dual pIII's 5.6 is prime time
Logged
David W
Re: Gallery and virtual Domains
«
Reply #11 on:
January 23, 2003, 03:22:18 PM »
I'm off today due to ICE in Atlanta. So, I might just get my new server up and running. My 5.12 machine has been running since that ver was released and haven't had any problems. 150 days with no reboot. Now my Windows boxes at the Office, thats a different story! Patch after Patch, it never ends.
David
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Legacy Forums
Experienced User Forum
Topic:
Gallery and virtual Domains