Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Links SQL 2.0

Quote Reply
Links SQL 2.0
Hi,

We are starting a new site that will have 5 main categories that all fit under one theme. We want to be able to either have each category fall under a http://category.domain.com or http://www.domain.con/category.

Would it be necessary to install or use 5 copies of links to handle this or could we use one install? Each category will have specific things that go with them like news, forums etc so they would have slightly different looks than other categories. Thanks in advance for any responses.

Quote Reply
Re: Links SQL 2.0 In reply to
You could use one license of LINKS SQL, but then hack the modules and build script to reference the appropriate sub-domains. It will not be easy to say the least, but you could do it with one copy.

Regards,

Eliot Lee
Quote Reply
Re: Links SQL 2.0 In reply to
You might want to ask Alex about this, but I don't think it's an easy thing to do, at this time.

One _possibility_ is to use the Rewrite engine to rewrite the URL's. This would accept subdomain.domain.tld in, but rewrite it to domain.tld/path/to/file once done.

But, the concept you are trying to do is something I and several others have asked about. It's the ability to change to the various subcategories, to be independent "sites", with the added twist of each subcategory being a subdomain.

I _think_ Alex has been thinking about this for awhile, but he's (obviously) had other things on his mind :) It might even be something he's thought about addressing with the GoTo mod.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: Links SQL 2.0 In reply to
To just change the URL, pugdog's is right, use RewriteEngine in Apache. This will do seamless rewrites and the user won't see the difference.

The next version due out monday will have the ability to use a different category template for different categories. This should accomplish most of what you need.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Links SQL 2.0 In reply to
Thanks for the info! It seems once you have something that is cool (I've seen the demo!) you want it to do more. IT seems everything gets more complex everyday though. I'm not too familiar with re-write for Apache though I found this link. http://httpd.apache.org/docs/mod/mod_rewrite.html
Is this mod used to rewrite subdomains for free web site services? How much work can we expect using rewrite to be if we have the 5 cats that have say over 10k links each?
Is the rewrite something that has to be run each time the pages are built?

Quote Reply
Re: Links SQL 2.0 In reply to
No the apache rewrite is something you add to your httpd.conf file once only....you don't need to edit it everytime you rebuild.

Paul Wilson.
new - http://www.wiredon.net