You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(30) |
Mar
(123) |
Apr
(188) |
May
(90) |
Jun
(68) |
Jul
(129) |
Aug
(72) |
Sep
(97) |
Oct
(99) |
Nov
(168) |
Dec
(35) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(75) |
Feb
(55) |
Mar
(104) |
Apr
(49) |
May
(12) |
Jun
(11) |
Jul
(47) |
Aug
(104) |
Sep
(14) |
Oct
(26) |
Nov
(31) |
Dec
(10) |
| 2003 |
Jan
(78) |
Feb
(76) |
Mar
(47) |
Apr
(30) |
May
(19) |
Jun
(36) |
Jul
(48) |
Aug
(43) |
Sep
(54) |
Oct
(25) |
Nov
(79) |
Dec
(39) |
| 2004 |
Jan
(43) |
Feb
(14) |
Mar
(17) |
Apr
(15) |
May
(18) |
Jun
(20) |
Jul
(7) |
Aug
(30) |
Sep
(49) |
Oct
(17) |
Nov
(14) |
Dec
(72) |
| 2005 |
Jan
(55) |
Feb
(27) |
Mar
(34) |
Apr
(15) |
May
(8) |
Jun
(23) |
Jul
(7) |
Aug
(19) |
Sep
(3) |
Oct
(44) |
Nov
(3) |
Dec
|
| 2006 |
Jan
(20) |
Feb
(5) |
Mar
(8) |
Apr
(12) |
May
(16) |
Jun
(22) |
Jul
(39) |
Aug
(65) |
Sep
(4) |
Oct
(11) |
Nov
|
Dec
(5) |
| 2007 |
Jan
(2) |
Feb
(2) |
Mar
(8) |
Apr
(3) |
May
(28) |
Jun
(6) |
Jul
(3) |
Aug
(9) |
Sep
(15) |
Oct
|
Nov
(12) |
Dec
(2) |
| 2008 |
Jan
(3) |
Feb
(14) |
Mar
|
Apr
(4) |
May
|
Jun
(12) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2009 |
Jan
|
Feb
(2) |
Mar
(4) |
Apr
|
May
|
Jun
(14) |
Jul
|
Aug
(1) |
Sep
(66) |
Oct
(21) |
Nov
|
Dec
(1) |
| 2010 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
(100) |
Mar
(17) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
|
From: barry <sla...@i1...> - 2001-11-12 23:06:00
|
Here is what I have that works for me: - redirect all requests from www.i18n.com/temp to [ip address], make sure the trailing slash is present if needed. $ more .htaccess RewriteEngine on RewriteRule ^(.+[^/])$ $1/ # straight redirect RewriteRule ^(.*)$ http://[ipaddress]/$1 I think in general you would want to use the RewriteBase directive too. I am not using it becuae I don;t have a way to redirect form a decent name to the ip address (it is a dynamic ip address, which causes its own problems, but for beta it is ok for me) Here is a pretty good doc for mod_rewrite: http://httpd.apache.org/docs/misc/rewriteguide.html HTH, Barry At 01:23 PM 11/12/2001 -0500, Computers in Medicine wrote: >We have an existing web site, call it www.foobar.org, and several >subdirectories under the domain that provide existing services. We'd like >to replace the existing home page www.foobar.org with a Slash site but keep >URLs such as www.foobar.org/service/ pointing to their existing services. >I've tried adding Alias directives into the slash.conf and foobar.conf >Apache configuration files created by Slash, but they appear to be ignored >once Slash is controlling the domain. I've also tried running Slash on a >port other than 80 and mapping it to www.foobar.org/slash/ (an acceptable, >but not ideal solution) using Apache ProxyPass and ReverseProxyPass >directives as follows: > >ProxyPass /slash/ http://www.foobar.org:8080/ >ReverseProxyPass /slash/ http://www.foobar.org:8080/ > >This is how we get Zope mapped into the existing domain. We run the Zope >zserver on another port and map it into Apache space. With Slash, the >ProxyPass directive works but the ReverseProxyPass directive does not, so >all the URLs embedded within the pages returned point to www.foobar.org:8080 >instead of www.foobar.org/slash/. > >Do any Slash or Apache gurus out there know of a clean way to do what we're >trying to do? We're just a bunch of students who've set up a Linux box and >are trying to do cool things with it, and are learning as we go along. Any >suggestions would be much appreciated! > > > > >_______________________________________________ >Slashcode-general mailing list >Sla...@li... >https://lists.sourceforge.net/lists/listinfo/slashcode-general |
|
From: Micah Y. <yo...@ho...> - 2001-11-12 20:17:03
|
On Monday 12 November 2001 01:23 pm, you wrote: > We have an existing web site, call it www.foobar.org, and several > subdirectories under the domain that provide existing services. We'd like > to replace the existing home page www.foobar.org with a Slash site but keep > URLs such as www.foobar.org/service/ pointing to their existing services. Hi, can't you just create symlinks in the Slash home directory to the other things: $ ln -s /var/www/service/ /usr/local/slash/site/whatever.com/htdocs/service You may have to specify Options AllowSymlinks in the Slash site's <Directory> directive. -- Like to travel? http://TravTalk.org Micah Yoder Internet Development http://yoderdev.com |
|
From: Chris N. <pu...@po...> - 2001-11-12 18:54:56
|
At 21:28 -0500 2001.11.09, Micah Yoder wrote: >ok, got the perl modules isolated from each other. But now I'm getting >DynaLoader errors on Apache.so. I remember having this kind of trouble when >installing Slash 2.0, but I can't remember how I fixed it. I know it's been >discussed before, but a Slashcode.com search shows nothing and the mail >archive search at geocrawler doesn't seem to work at all (it can't find >ANYTHING). So, anyone know what's going on here? Thanks > >[root@eclipse Apache]# pwd >/usr/local/slash22/lib/perl5/site_perl/5.6.0/i386-linux/Slash/Apache >[root@eclipse Apache]# perl -c User.pm >Can't load >'/usr/local/slash22/lib/perl5/site_perl/5.6.0/i386-linux/auto/Slash/Apache/Apache.so' > >for module Slash::Apache: >/usr/local/slash22/lib/perl5/site_perl/5.6.0/i386-linux/auto/Slash/Apache/Apache.so: > >undefined symbol: perl_cmd_perl_TAKE1 at >/usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200. > at User.pm line 17 >Compilation failed in require at User.pm line 17. >BEGIN failed--compilation aborted at User.pm line 17. You cannot execute Slash::Apache or Slash::Apache::User outside of mod_perl (unless the mod_perl API is somehow compiled into your regular perl, which is unlikely). -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: barry <sla...@i1...> - 2001-11-12 18:50:49
|
My situation is this: for beta testing my site, I want it to look like it is coming from the domain that my isp provides, but really be running on a different machine. lets assume: Isp host = www.i18n.com slash is running on ip address 192.168.1.1 (obviously not the real address) I have created a directory temp on www.i18n.com in the web space. In that directory, I have created a .htaccess file which contains: RewriteEngine on RewriteBase / # straight redirect RewriteRule ^(.*)$ http://192.168.1.1/$1 this seems to work, except it looks like I need to put "/" at the end of the url in places. I think there is some info inthe mod_rewrite documentation that I will review about that issue, but for now this looks very promising. I am still testing, but it looks like the the user sees the slash material as though it really lives at www.i18n.com/temp . HTH, Barry At 01:23 PM 11/12/2001 -0500, Computers in Medicine wrote: >We have an existing web site, call it www.foobar.org, and several >subdirectories under the domain that provide existing services. We'd like >to replace the existing home page www.foobar.org with a Slash site but keep >URLs such as www.foobar.org/service/ pointing to their existing services. <snip> |
|
From: barry <sla...@i1...> - 2001-11-12 18:41:06
|
I happen to be working on a similar issue right this very minute. I am playing with Rewrite rules. ProxyPass might be simpler, I will check into that. either way, once I figure it out, I will report to the list. Barry At 01:23 PM 11/12/2001 -0500, Computers in Medicine wrote: >We have an existing web site, call it www.foobar.org, and several >subdirectories under the domain that provide existing services. We'd like >to replace the existing home page www.foobar.org with a Slash site but keep >URLs such as www.foobar.org/service/ pointing to their existing services. >I've tried adding Alias directives into the slash.conf and foobar.conf >Apache configuration files created by Slash, but they appear to be ignored >once Slash is controlling the domain. I've also tried running Slash on a >port other than 80 and mapping it to www.foobar.org/slash/ (an acceptable, >but not ideal solution) using Apache ProxyPass and ReverseProxyPass >directives as follows: > >ProxyPass /slash/ http://www.foobar.org:8080/ >ReverseProxyPass /slash/ http://www.foobar.org:8080/ > >This is how we get Zope mapped into the existing domain. We run the Zope >zserver on another port and map it into Apache space. With Slash, the >ProxyPass directive works but the ReverseProxyPass directive does not, so >all the URLs embedded within the pages returned point to www.foobar.org:8080 >instead of www.foobar.org/slash/. > >Do any Slash or Apache gurus out there know of a clean way to do what we're >trying to do? We're just a bunch of students who've set up a Linux box and >are trying to do cool things with it, and are learning as we go along. Any >suggestions would be much appreciated! > > > > >_______________________________________________ >Slashcode-general mailing list >Sla...@li... >https://lists.sourceforge.net/lists/listinfo/slashcode-general |
|
From: Computers in M. <pi...@ma...> - 2001-11-12 18:23:17
|
We have an existing web site, call it www.foobar.org, and several subdirectories under the domain that provide existing services. We'd like to replace the existing home page www.foobar.org with a Slash site but keep URLs such as www.foobar.org/service/ pointing to their existing services. I've tried adding Alias directives into the slash.conf and foobar.conf Apache configuration files created by Slash, but they appear to be ignored once Slash is controlling the domain. I've also tried running Slash on a port other than 80 and mapping it to www.foobar.org/slash/ (an acceptable, but not ideal solution) using Apache ProxyPass and ReverseProxyPass directives as follows: ProxyPass /slash/ http://www.foobar.org:8080/ ReverseProxyPass /slash/ http://www.foobar.org:8080/ This is how we get Zope mapped into the existing domain. We run the Zope zserver on another port and map it into Apache space. With Slash, the ProxyPass directive works but the ReverseProxyPass directive does not, so all the URLs embedded within the pages returned point to www.foobar.org:8080 instead of www.foobar.org/slash/. Do any Slash or Apache gurus out there know of a clean way to do what we're trying to do? We're just a bunch of students who've set up a Linux box and are trying to do cool things with it, and are learning as we go along. Any suggestions would be much appreciated! |
|
From: barry <sla...@i1...> - 2001-11-10 20:23:55
|
Duh! That's what I get for working straight out of bed on Saturday. I found it in Fry->Data.pm right after html2text. I will paste that in bender-> Utility.pm and I bet it will work. Barry At 11:42 AM 11/10/2001 -0800, barry wrote: >I am trying to modify the daily emails to show the introtext. Since that >funcitonality is in Fry, I am trying to back port it to Bender. > >I took Fry's html2text from Data.pm and moved it to Bender's Utility.pm. >Using CPAN I did: > >cpan> install HTML::FormatText > >which went OK. > >I then added > >use HTML::FormatText; >use HTML::TreeBuilder; > >to Utility.pm. > >But when I run dailystuff, I get this run time error: > >[root@slash sbin]# ./dailyStuff [user] >Can't locate object method "new" via package "HTML::FormatText::AddRefs" >at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Slash/Utility.pm line 2690. > >I don't understand what I am missing here - any ideas? > > >Thanks! > >Barry > > >_______________________________________________ >Slashcode-general mailing list >Sla...@li... >https://lists.sourceforge.net/lists/listinfo/slashcode-general |
|
From: barry <sla...@i1...> - 2001-11-10 19:54:49
|
I am trying to modify the daily emails to show the introtext. Since that funcitonality is in Fry, I am trying to back port it to Bender. I took Fry's html2text from Data.pm and moved it to Bender's Utility.pm. Using CPAN I did: cpan> install HTML::FormatText which went OK. I then added use HTML::FormatText; use HTML::TreeBuilder; to Utility.pm. But when I run dailystuff, I get this run time error: [root@slash sbin]# ./dailyStuff [user] Can't locate object method "new" via package "HTML::FormatText::AddRefs" at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Slash/Utility.pm line 2690. I don't understand what I am missing here - any ideas? Thanks! Barry |
|
From: barry <sla...@i1...> - 2001-11-10 18:16:23
|
At 01:05 PM 11/10/2001 -0500, you wrote: > > Calls to constants.siteadmin_name need to be changed to > > constants.admin_name: > >No, they don't; siteadmin_name is the name of the var we picked, >it may be ugly but let's continue to use it please :) OK - I had a 50/50 chance of guessing the right one. I will change my code. Thanks! Barry |
|
From: Jamie M. <ja...@mc...> - 2001-11-10 18:05:24
|
sla...@i1... (barry) writes: > Basically I discovered that some templates use variables that > don't exist in the table "vars", or do exist but the spelling of > the name does not match between the table and the templates. > ------- Additional Comments From barry 2001-11-10 19:57 ------- > in edit_comment;comments;default: > > was: > > <A HREF="mailto:[% constants.admin_mail %]">[% > constants.admin_name %] > </A>.</FONT> > > now: > <A HREF="mailto:[% constants.adminmail %]">[% constants.admin_name > %] > </A>.</FONT> That was fixed in CVS in June. http://cvs.slashcode.com/index.cgi/slash/themes/slashcode/templates/edit_comment;comments;default.diff?r1=1.2.2.3&r2=1.2.2.4 > Also, created variable admin_name in table vars: > > mysql> insert into vars values ("admin_name","the site > administrator","admin > name for use in edit_comments- should match the value in users table"); > Query OK, 1 row affected (0.00 sec) Don't do that; use the var 'siteadmin_name'. > [root@slash templates]# grep admin_mail * > errors;comments;default:[% constants.admin_mail %]. If you are being a > troll, > now is the time for you to > > changed to: > > [% constants.adminmail %]. If you are being a troll, now is the time for > you to That was fixed in CVS in August. http://cvs.slashcode.com/index.cgi/slash/themes/slashcode/templates/errors;comments;default.diff?r1=1.2.2.8&r2=1.2.2.9 > Calls to constants.siteadmin_name need to be changed to > constants.admin_name: No, they don't; siteadmin_name is the name of the var we picked, it may be ugly but let's continue to use it please :) -- Jamie McCarthy ja...@mc... |
|
From: Alessio B. <al...@se...> - 2001-11-10 13:39:52
|
Micah Yoder: > #4. Stories on the home page don't list any comments. When displaying the > story the comments appear fine. slashd IS running. Tried to set the var cache_enabled to 0? -- Alessio F. Bragadini al...@se... |
|
From: Micah Y. <yo...@ho...> - 2001-11-10 11:15:53
|
On Friday 09 November 2001 09:28 pm, you wrote: > ok, got the perl modules isolated from each other. But now I'm getting > DynaLoader errors on Apache.so. I remember having this kind of trouble [...] Well, I guess that happened because I was just checking things with perl -c on the command line. Starting it with Apache worked fine! Anyway, I apparently have Slash 2 and 2.2 functional on the same box. But there are some problems: #1. When I try to post a journal in Fry I get an internal server error and this in the error log (after clicking the Preview button); [Sat Nov 10 06:55:14 2001] [error] Can't locate object method "is_friend" via package "Slash::Journal" at /usr/local/slash22/site/travtest/htdocs/journal.pl line 550. I'm wondering if it's using the old Journal.pm, but it shouldn't be. It's inheriting the PERL5LIB var #2. The two default stories were archived sometime after I replied twice to one of them and approved the one in the submission area. I never asked it to archive anything. #3. Messages don't seem to be working.... I enabled them in prefs, of course. Any ideas? I know I have a somewhat unconventional setup, but I think it should be good... -- Like to travel? http://TravTalk.org Micah Yoder Internet Development http://yoderdev.com |
|
From: Micah Y. <yo...@ho...> - 2001-11-10 11:15:11
|
Journal.pm didn't get installed correctly in the "new" heirarchy... now it is and it works! But I'm getting this message in the log every time I load message.pl, and a very similar one for journal.pl: [Sat Nov 10 08:12:20 2001] [error] /messages.pl:Slash::Utility::Display:/usr/local/slash22/lib/perl5/site_perl/5.6.0/i386-linux/Slash/Utility/Display.pm:972: : [Sat Nov 10 08:12:20 2001] [error] Which was called by:Slash::Display::Plugin:/usr/local/slash22/lib/perl5/site_perl/5.6.0/i386-linux/Slash/Display/Plugin.pm:75: : No internal server errors though, the page displays fine. There are no error messages here, it just says something's wrong. Kinda like the Mac. :-) Need sleep... -- Like to travel? http://TravTalk.org Micah Yoder Internet Development http://yoderdev.com |
|
From: Micah Y. <yo...@ho...> - 2001-11-10 10:54:38
|
#4. Stories on the home page don't list any comments. When displaying the story the comments appear fine. slashd IS running. I like the new feature that lets you see which user IDs logged in from the address a message was posted from. That kicks arse. And Bender & Fry really are working on the same box. If I do apachectl22 stop apachectl start and reload the home, I get my old Bender site back, working just fine. :-) Vice versa and Fry is back. -- Like to travel? http://TravTalk.org Micah Yoder Internet Development http://yoderdev.com |
|
From: Micah Y. <yo...@ho...> - 2001-11-10 05:37:11
|
In case anyone's interested. I plan to GPL all at some point. They're in various stages of development. * BlockOwners -- lets you delegate permission to edit a certain block to a certain user. Lets the user preview and commit the change. I have it installed on TravTalk.org. I plan to use it to sell Slashboxes to advertisers when the thing takes off. It probably could be released now, but it didn't install correctly automatically with the install-plugin utility. I dunno what's up with that. * Classifieds -- classified ad system. Already works to a certain extent (you can put in ads and view them by category) but probably needs more admin stuff. Also may be extended to auctions at some point. * (my favorite) Trivia Question of the Day -- lets you put in trivia questions, and each day logged in users will get a shot to answer one. They will have {var} number of seconds from the time the question is shown. It will keep stats and rank users. It will let anyone view the last {var} number of questions and answers. In heavy develment, nothing ready for release. All are for Slash 2.0 currently, but if/when I get TravTalk.org upgraded to 2.2, that's the platform I'll develop these on. -- Like to travel? http://TravTalk.org Micah Yoder Internet Development http://yoderdev.com |
|
From: barry <sla...@i1...> - 2001-11-10 05:37:05
|
OK, this one was my bug (it was all code I modified previously) - turns out:
[% my_section = section.section %] should be
[% my_section = section %]
and my idea that I should have:
slashDisplay('header',
$section,
);
was right.
Barry
At 11:00 PM 11/8/2001 -0800, barry wrote:
>My header;misc;default template now has these lines at the top:
>
>__template__
>[% my_section = section.section %]
>[% UNLESS my_section %]
> [% my_section = "home" %]
>[% END %]
></HEAD>
>
>and later:
>
> [%
> INCLUDE banner0
> this_section = my_section %]
>
>the problem is that when this section gets called from slashd to create
>[section]/slashhead.inc, my_section always = "home", meaning
>section.section is empty. I really want to have my_section = [section] as
>it does when the page is generated by index.pl.
>
>Any tips on getting the section name in the template when it is called by
>slashd?
>
>Thanks!
>
>Barry
>
>At 10:37 PM 11/8/2001 -0800, barry wrote:
>>in sub header :
>>
>>why are the lines:
>> my $sectionInfo = getSection($form->{section});
>> slashDisplay('header',
>> {section=> $sectionInfo},
>> );
>>
>>not just
>>
>> slashDisplay('header',
>> $section,
>> );
>>
>>The reason I ask is because I have added some section-specific stuff in
>>the header template. This Slash::header function is called in slashd when
>>it created slashhead,inc for each section. I wonder if this is a bug that
>>was never caught because the default template 'header;misc;default' had
>>no section-specific issues?
>>
>>
>>Thanks!
>>
>>Barry
>>
>>
>>_______________________________________________
>>Slashcode-general mailing list
>>Sla...@li...
>>https://lists.sourceforge.net/lists/listinfo/slashcode-general
>
>
>_______________________________________________
>Slashcode-general mailing list
>Sla...@li...
>https://lists.sourceforge.net/lists/listinfo/slashcode-general
|
|
From: barry <sla...@i1...> - 2001-11-10 05:34:12
|
in the edit_comment;comment;default template (in Bender) there is a line: [% IF !user.is_anon && user.karma > constants.goodkarma %] when I try to use template-tool to store and then compile this template, it breaks at that line: [root@slash templates]# template-tool -u user -s edit_comment\;comments\;default Preparing to insert edit_comment using filename edit_comment;comments;default updated template edit_comment;comments;default tpid 69 [root@slash templates]# template-tool -u user -c edit_comment\;comments\;default edit_comment;comments;default at /usr/local/sbin/template-tool line 278. Argument "" isn't numeric in numeric gt (>) at (eval 7) line 124. Argument "" isn't numeric in numeric gt (>) at (eval 7) line 124. It seems to think that it can't do the comparison because both user.karma and constants.goodkarma are strings. But almost immediately afterwards in that template is: [% IF constants.allow_anonymous && user.karma > -1 && !user.is_anon %] and that compiles OK. Why ? I notice the same code is in the template for Fry. So how did this get built in the first place? How do I get it built again, now tht I made a slight mod to the template? (for now I have just commented that part out, but obviously that is a short-term solution) Thanks for any insight! Barry |
|
From: Micah Y. <yo...@ho...> - 2001-11-10 05:28:56
|
ok, got the perl modules isolated from each other. But now I'm getting DynaLoader errors on Apache.so. I remember having this kind of trouble when installing Slash 2.0, but I can't remember how I fixed it. I know it's been discussed before, but a Slashcode.com search shows nothing and the mail archive search at geocrawler doesn't seem to work at all (it can't find ANYTHING). So, anyone know what's going on here? Thanks [root@eclipse Apache]# pwd /usr/local/slash22/lib/perl5/site_perl/5.6.0/i386-linux/Slash/Apache [root@eclipse Apache]# perl -c User.pm Can't load '/usr/local/slash22/lib/perl5/site_perl/5.6.0/i386-linux/auto/Slash/Apache/Apache.so' for module Slash::Apache: /usr/local/slash22/lib/perl5/site_perl/5.6.0/i386-linux/auto/Slash/Apache/Apache.so: undefined symbol: perl_cmd_perl_TAKE1 at /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200. at User.pm line 17 Compilation failed in require at User.pm line 17. BEGIN failed--compilation aborted at User.pm line 17. -- Like to travel? http://TravTalk.org Micah Yoder Internet Development http://yoderdev.com |
|
From: barry <sla...@i1...> - 2001-11-10 04:06:39
|
Below are 2 bug reports I have (bugzilla style, so the order is inverted).
Basically I discovered that some templates use variables that don't exist
in the table "vars", or do exist but the spelling of the name does not
match between the table and the templates.
- Perhaps this information can be added to an errata note in the readme for
bender?
- Does anyone else know of similar issues?
- Can I add these new variables to the table via the admin interface, or do
I have to do it via sql?
Thanks!
Barry
Bug reports follow:
############################################################################
Missing email address:
> Problems regarding accounts or comment posting should be sent to .
------- Additional Comments From barry 2001-11-10 19:57 -------
in edit_comment;comments;default:
was:
<A HREF="mailto:[% constants.admin_mail %]">[% constants.admin_name %]
</A>.</FONT>
now:
<A HREF="mailto:[% constants.adminmail %]">[% constants.admin_name %]
</A>.</FONT>
Also, created variable admin_name in table vars:
mysql> insert into vars values ("admin_name","the site administrator","admin
name for use in edit_comments- should match the value in users table");
Query OK, 1 row affected (0.00 sec)
------- Additional Comments From barry 2001-11-10 20:08 -------
[root@slash templates]# grep admin_mail *
errors;comments;default:[% constants.admin_mail %]. If you are being a troll,
now is the time for you to
changed to:
[% constants.adminmail %]. If you are being a troll, now is the time for
you to
##############################################################
[root@slash templates]# grep admin_name *
dispTheComments;metamod;default:[% constants.siteadmin_name.uc %]!</B> <P>What
follows is [% constants.m2_comments %] random
messages;users;default: email <A HREF="mailto:[% constants.adminmail %]">[%
constants.siteadmin_name %]</A>.
messages;users;default: [% constants.siteadmin_name %]
Calls to constants.siteadmin_name need to be changed to constants.admin_name:
dispTheComments;metamod;default:
[% constants.admin_name.uc %]!</B> <P>What follows is [% constants.m2_comments
%] random
messages;users;default:
email <A HREF="mailto:[% constants.adminmail %]">[% constants.admin_name
%]</A>.
and:
[% constants.admin_name %]
|
|
From: shane <sh...@lo...> - 2001-11-09 21:07:11
|
At 09:59 AM 11/9/2001 +0100, Markus Ackermann wrote: >yo...@ho... wrote: > > [dagnabbit, I hate it when replies don't go to the list by default....] > > > > > I've got a 466 Celeron, 384mb memory, ide disk drive. Realistically it is > > > not enough. It seems CPU bound. But thanks for the tip on the Athlon > - that > > > will help my upgrade plans when I get to it. > > > > Interesting, it seems to me like that would cut it if you have enough RAM > > (like Shane said, that is key). > >Exactly. We were running a Slash 1.0.9 on a P200 with 256MB RAM, which >was mostly ok (after a fair bit of apache tuning). But our first test >server was a P233 with only 32MB RAM - absolutely insufficient. With >more than 2 simaltanious connects it was even impossible to connect >with ssh - it was swapping like hell. No chance even after days of >waiting - you had to login locally and kill all apache processes... > >Markus. With the older version of slash you could get away with low-end hardware if you had multiple boxes. I ran two slash sites on two HP Vectra's - one ran apache, one MySQL. Both had 'overdrive' chips that upgraded the P75 to ~P200 and both had 96MB ram. Not exactly lightning quick, but they held up for over a year with multiple sites that had low traffic. If it didn't take so long to work on the boxes (ie install perl modules, make && install etc) I'd be tempted to put the latest slash on there just to see how it'd work out. Shane |
|
From: Markus A. <mar...@ub...> - 2001-11-09 08:59:43
|
yo...@ho... wrote: > [dagnabbit, I hate it when replies don't go to the list by default....] > > > I've got a 466 Celeron, 384mb memory, ide disk drive. Realistically it is > > not enough. It seems CPU bound. But thanks for the tip on the Athlon - that > > will help my upgrade plans when I get to it. > > Interesting, it seems to me like that would cut it if you have enough RAM > (like Shane said, that is key). Exactly. We were running a Slash 1.0.9 on a P200 with 256MB RAM, which was mostly ok (after a fair bit of apache tuning). But our first test server was a P233 with only 32MB RAM - absolutely insufficient. With more than 2 simaltanious connects it was even impossible to connect with ssh - it was swapping like hell. No chance even after days of waiting - you had to login locally and kill all apache processes... Markus. |
|
From: Micah Y. <yo...@ho...> - 2001-11-09 08:21:58
|
[dagnabbit, I hate it when replies don't go to the list by default....] > I've got a 466 Celeron, 384mb memory, ide disk drive. Realistically it is > not enough. It seems CPU bound. But thanks for the tip on the Athlon - that > will help my upgrade plans when I get to it. Interesting, it seems to me like that would cut it if you have enough RAM (like Shane said, that is key). My server is a dual P3 866, running 4 Slash sites currently (and some other stuff), and CPU load usually hoovers in the 0.10 to 0.20 range! Not a big deal at all. -- Like to travel? http://TravTalk.org Micah Yoder Internet Development http://yoderdev.com |
|
From: Chris W. <ch...@ha...> - 2001-11-09 07:59:44
|
Hi guys, Anyone tried compiling expat under IRIX? Seeing as I need to get it to work, so that I can install XML::Parser (for Slash).. I'm getting some peculiar library errors! Chris -- Chris Waltham Systems Administrator HarvestRoad, Limited. ch...@ha... phone: (08) 9338-3000 |
|
From: barry <sla...@i1...> - 2001-11-09 07:01:40
|
My header;misc;default template now has these lines at the top:
__template__
[% my_section = section.section %]
[% UNLESS my_section %]
[% my_section = "home" %]
[% END %]
</HEAD>
and later:
[%
INCLUDE banner0
this_section = my_section %]
the problem is that when this section gets called from slashd to create
[section]/slashhead.inc, my_section always = "home", meaning
section.section is empty. I really want to have my_section = [section] as
it does when the page is generated by index.pl.
Any tips on getting the section name in the template when it is called by
slashd?
Thanks!
Barry
At 10:37 PM 11/8/2001 -0800, barry wrote:
>in sub header :
>
>why are the lines:
> my $sectionInfo = getSection($form->{section});
> slashDisplay('header',
> {section=> $sectionInfo},
> );
>
>not just
>
> slashDisplay('header',
> $section,
> );
>
>The reason I ask is because I have added some section-specific stuff in
>the header template. This Slash::header function is called in slashd when
>it created slashhead,inc for each section. I wonder if this is a bug that
>was never caught because the default template 'header;misc;default' had
>no section-specific issues?
>
>
>Thanks!
>
>Barry
>
>
>_______________________________________________
>Slashcode-general mailing list
>Sla...@li...
>https://lists.sourceforge.net/lists/listinfo/slashcode-general
|
|
From: barry <sla...@i1...> - 2001-11-09 06:38:19
|
in sub header :
why are the lines:
my $sectionInfo = getSection($form->{section});
slashDisplay('header',
{section=> $sectionInfo},
);
not just
slashDisplay('header',
$section,
);
The reason I ask is because I have added some section-specific stuff in the
header template. This Slash::header function is called in slashd when it
created slashhead,inc for each section. I wonder if this is a bug that was
never caught because the default template 'header;misc;default' had
no section-specific issues?
Thanks!
Barry
|