From: Faye G. <fgi...@st...> - 2007-05-10 13:27:08
|
Hi, It is possible to configure slash so that instead of say: http://features.somemachine.example.com/..... it uses: http://somemachine.example.com/features/..... when linking from a story on the main page (http://somemachine.example.com/) to (say) a "features" article? I'd prefer not to setup an subnet just to play with slash. I did skim through the Slssh book and got through the variables list looking for something obvious. yours Faye -- --------------------------------------------------------- Faye Gibbins, Computing Officer (Infrastructure Services) GeoS KB; Linux, Unix, Security and Networks; 0131 6506426 --------------------------------------------------------- |
From: shane <sh...@lo...> - 2007-05-10 20:14:50
|
On May 10, 2007, at 9:26 AM, Faye Gibbins wrote: > Hi, > > It is possible to configure slash so that instead of say: > > http://features.somemachine.example.com/..... > > it uses: > > http://somemachine.example.com/features/..... > > when linking from a story on the main page > (http://somemachine.example.com/) to (say) a "features" article? > > I'd prefer not to setup an subnet just to play with slash. > > I did skim through the Slssh book and got through the variables list > looking for something obvious. > > yours > Faye First off, what version of Slashcode are you using? The version I'm most familiar with, CVS (ie current, unreleased) has great reliance upon subdomains in the URL's. I'm going to assume that's what you are using. However, what you want can be done. We did it on a site. I don't recall if we had to patch anything, or not. But the first step for you to go about this would be to remove the URL's for any non-primaryskid skins that are nexus's. Then edit your article and save it. That'll cause slash to re-render it and the links to it. Because, technically, if your subdomains are setup, there should be no behavioral difference between http://features.some.tld/ and http:// some.tld/?section=features. And when the dispStory template is called, it should render the link to any story as either coming from the some.tld/article.pl?section=foo or some.tld/{sectionname}/ article.shtml or {subdomainforskin}.some.tdl/article.pl -- all depending on the primaryskid or the article, the skin's settings and who's requesting it (anon user, user, slashd). Try it on slashcode, or slashdot yourself if you like. http:// apple.slashdot.org/ or http://slashdot.org/?section=apple should be the same. Shane |
From: Clifton W. <cli...@gm...> - 2007-05-11 01:19:18
|
On 5/10/07, shane <sh...@lo...> wrote: > The version I'm most familiar with, CVS (ie current, unreleased) has > great reliance upon subdomains in the URL's. I'm going to assume > that's what you are using. However, what you want can be done. We did > it on a site. I don't recall if we had to patch anything, or not. But > the first step for you to go about this would be to remove the URL's > for any non-primaryskid skins that are nexus's. Then edit your > article and save it. That'll cause slash to re-render it and the > links to it. This is slightly amusing, mainly because what Faye is asking for is the way Slashcode *used* to handle sections. The whole subdomain thing was a refactoring of the code when "section" was redefined as "skin". Just an FYI and a slight bit of history. - Cliff |
From: shane <sh...@lo...> - 2007-05-11 20:30:34
|
On May 10, 2007, at 9:19 PM, Clifton Wood wrote: > On 5/10/07, shane <sh...@lo...> wrote: >> The version I'm most familiar with, CVS (ie current, unreleased) has >> great reliance upon subdomains in the URL's. [...] > > This is slightly amusing, mainly because what Faye is asking for is > the way Slashcode *used* to handle sections. The whole subdomain thing > was a refactoring of the code when "section" was redefined as "skin". > > Just an FYI and a slight bit of history. heh, ya know, I forgot all about that. Seems like so long ago :) |
From: Faye G. <fgi...@st...> - 2007-05-12 10:57:58
|
Hi, I'm using the current CVS. I tried R_2_5_0_94 but I just couldn't =20 get it to work with a non-root install. BTW: What was the rational for using subdomains? Yours Faye Quoting shane <sh...@lo...>: > > On May 10, 2007, at 9:19 PM, Clifton Wood wrote: > >> On 5/10/07, shane <sh...@lo...> wrote: >>> The version I'm most familiar with, CVS (ie current, unreleased) has >>> great reliance upon subdomains in the URL's. [...] >> >> This is slightly amusing, mainly because what Faye is asking for is >> the way Slashcode *used* to handle sections. The whole subdomain thing >> was a refactoring of the code when "section" was redefined as "skin". >> >> Just an FYI and a slight bit of history. > > heh, ya know, I forgot all about that. Seems like so long ago :) > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general > > --------------------------------------------------------- Faye Gibbins, Computing Officer (Infrastructure Services) GeoS KB; Linux, Unix, Security and Networks; 0131 6506426 --------------------------------------------------------- |
From: Clifton W. <cli...@gm...> - 2007-05-15 22:01:02
|
Generally? Ease of use. It's more easy to use: http://section.domain.com/ than it is to do http://domain.com/index.pl?section=name Easier to remember for most people. Personally, I can go either way since I've used Slash for so long. WRT a non-root install, it *is* hard to do. At some point, you need your sysadmin's cooperation. What exactly are the problems you are having? - Cliff On 5/12/07, Faye Gibbins <fgi...@st...> wrote: > > Hi, > > I'm using the current CVS. I tried R_2_5_0_94 but I just couldn't > get it to work with a non-root install. > > BTW: What was the rational for using subdomains? > |
From: Faye G. <fgi...@st...> - 2007-05-16 07:57:35
|
Hi, I wanted to use Slashcode for a forum but felt that setting up a sub domain was a bit overkill. BTW I am the Sys Admin. So far I've taken mysql 5.0.27, apache 1.3.37 and last Fridays CVS head of slash code and a custom CPAN config file and got a working slash setup, all done as non root. It did involve several bug reports to CPAN package owners and HTML-Calendar is still broke BTW, it has to be installed by hand. It's the "make test", I've reported it to the author. Everything so far has been scripted so I'll probably make a HOWTO of it later. I did have to hack the top level slash makefile to pass PREFIX and LIB args to the various perl install steps. Expect a patch for that soon. I've also found what I think is a bug in 'install-slashsite' in the handling of the "-L" arg. I found it late last night so I'm going to sit on it until I'm sure. My next problem is that the setup won't currently compile on 64 bit. But that's an apache problem. Anyway it would be nice if there was an easy way to tell slash to use relative paths or CGI args for sections rather than sub domains. Yours Faye CO GeoS Clifton Wood wrote: > Generally? Ease of use. It's more easy to use: > > http://section.domain.com/ > > than it is to do > > http://domain.com/index.pl?section=name > > Easier to remember for most people. Personally, I can go either way > since I've used Slash for so long. > > WRT a non-root install, it *is* hard to do. At some point, you need > your sysadmin's cooperation. What exactly are the problems you are > having? > > - Cliff > > On 5/12/07, Faye Gibbins <fgi...@st...> wrote: >> Hi, >> >> I'm using the current CVS. I tried R_2_5_0_94 but I just couldn't >> get it to work with a non-root install. >> >> BTW: What was the rational for using subdomains? >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general > -- --------------------------------------------------------- Faye Gibbins, Computing Officer (Infrastructure Services) GeoS KB; Linux, Unix, Security and Networks; 0131 6506426 --------------------------------------------------------- |