Posted on: 08/11/04 02:27pm
By: NeoNecro
Hey,
I wonderd if it was possible to put a theme in a subdomain.
Example:
I have a babe's theme on my site, now I want people to get to this theme like this: babes.mysite.com
Is this posible? It would be very nice.
Grtz
Theme's in subdomains
Posted on: 08/11/04 03:45pm
By: Dirk
Let me guess: Slashdot?
Geeklog doesn't support putting topics on subdomains, though, so this isn't possible. There is, however, a hack that lets you define a different theme for each topic. Search for "chameleon", I think that's the one.
bye, Dirk
Theme's in subdomains
Posted on: 08/11/04 03:54pm
By: Anonymous (tokyoahead)
You could make a hack into the config.php I guess.
something like
if ($_SERVER["HTTP_HOST"]=="babe.mydomain.com")
{$_CONF['theme']= 'Babe';}
elsif ($_SERVER["HTTP_HOST"]=="whatever.mydomain.com")
{$_CONF['theme']= 'whatever';}
else {$_CONF['theme']= 'Smooth_Blue';}
Then make a link somewhere that points to that direction.
Theme's in subdomains
Posted on: 08/11/04 04:12pm
By: NeoNecro
OOh crap
I just saw I made a terible mistake in my question. Its because I'm not English, but I'm trying.
It had to be topic, not theme.
So I wan't to put different topics in different subdomains. Is this possible?
Sorry for my big mistake, I hope you guys will forgive me
Theme's in subdomains
Posted on: 08/11/04 04:25pm
By: Anonymous (tokyoahead)
This might be impossible. Unless you want to create a rewrite in the typ of:
babe.mydomain.com
equals
mydomain.com/babe
and put a html file in there that redirects to
http://mydomain.com/index.php?topic=babe
but thats everything but an elegant solution.
maybe you can create some magic reqrite-rule on your apache-server, but thats out of my knowledge. It seems possible to me though. I dont see any way how you could do this with hacking geeklog.
check http://httpd.apache.org/docs/misc/rewriteguide.html for that.
Theme's in subdomains
Posted on: 08/12/04 06:32am
By: NeoNecro
That's to bad
I also don't know how to rewrite url's.
It would have been prety need if it worked.
Thanks any way for your reply's
grtz
Theme's in subdomains
Posted on: 08/12/04 07:12am
By: Anonymous (tokyoahead)
ceck google groups
alt.apache.configuration
register, post the problem and I guess you will get an answer