<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/10068" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2005-07-18T09:43:11-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/10068</id>

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-07-18T09:43:11-04:00</updated>

		<published>2005-07-18T09:43:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52778#p52778</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52778#p52778"/>
		<title type="html"><![CDATA[Filename of logfiles when using &quot;keep-all-logs 1&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52778#p52778"><![CDATA[
you know you can change the name using the 'set logfile-suffix' settting in your config.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 18, 2005 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alpha]]></name></author>
		<updated>2005-07-18T07:08:19-04:00</updated>

		<published>2005-07-18T07:08:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52771#p52771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52771#p52771"/>
		<title type="html"><![CDATA[Filename of logfiles when using &quot;keep-all-logs 1&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52771#p52771"><![CDATA[
Still doesn't work, which is strange...<br><br> tromso.log.01Jun2003    02-Jun-2003 00:00   737k  <br> tromso.log.01Jun2004    02-Jun-2004 00:00   492k  <br><br><br>The top one works, the bottom one doesn't. I thought it was a filesize issue, but the top one is bigger than the latter... This isn't an Apache / html forum so I should probably take this someplace else. Or bother with a php-script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5706">Alpha</a> — Mon Jul 18, 2005 7:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2005-07-18T03:18:18-04:00</updated>

		<published>2005-07-18T03:18:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52764#p52764</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52764#p52764"/>
		<title type="html"><![CDATA[Filename of logfiles when using &quot;keep-all-logs 1&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52764#p52764"><![CDATA[
use this .htaccess instead:<br><div class="codebox"><p>Code: </p><pre><code>&lt;Files ~ "^.+\.log.*$"&gt;  ForceType text/plain&lt;/Files&gt;</code></pre></div>that will force all files with ".log" anywhere in the name (except at the beginning) to be of text/plain type.<br><br>hope this helps <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>alpha, if you'd like a PHP script like what big jay was suggesting, i can whip one up for you - just PM me on the forums here (this is, after all, an eggdrop forum and not a PHP forum <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">)<br><br>P.S.: demond, i don't think your suggestion worked because the filenames don't <em class="text-italics">end</em> in .log, which is all that AddType checks for.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Mon Jul 18, 2005 3:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alpha]]></name></author>
		<updated>2005-07-18T01:09:47-04:00</updated>

		<published>2005-07-18T01:09:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52760#p52760</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52760#p52760"/>
		<title type="html"><![CDATA[Filename of logfiles when using &quot;keep-all-logs 1&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52760#p52760"><![CDATA[
Solution with .htaccess worked for some files, but not all of them..?!<br><br>Check it out:  <a href="http://www.kanaltromso.no/tromsolog/" class="postlink">http://www.kanaltromso.no/tromsolog/</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5706">Alpha</a> — Mon Jul 18, 2005 1:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-17T21:01:37-04:00</updated>

		<published>2005-07-17T21:01:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52740#p52740</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52740#p52740"/>
		<title type="html"><![CDATA[Filename of logfiles when using &quot;keep-all-logs 1&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52740#p52740"><![CDATA[
if the webserver is apache, add to .htaccess file for that public directory (or to server's config if you are the admin) this line:<br><br><strong class="text-strong">AddType text/plain .log</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Jul 17, 2005 9:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Big Jay]]></name></author>
		<updated>2005-07-17T19:59:10-04:00</updated>

		<published>2005-07-17T19:59:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52737#p52737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52737#p52737"/>
		<title type="html"><![CDATA[Filename of logfiles when using &quot;keep-all-logs 1&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52737#p52737"><![CDATA[
maybee if u kno php make an index.php for the folder there in<br><br>make the php file list the names of each file creating a link for each one<br><br>when you click the link php takes the text out of the file and prints it on screen <br><br>??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6474">Big Jay</a> — Sun Jul 17, 2005 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alpha]]></name></author>
		<updated>2005-07-17T19:48:43-04:00</updated>

		<published>2005-07-17T19:48:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52736#p52736</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52736#p52736"/>
		<title type="html"><![CDATA[Filename of logfiles when using &quot;keep-all-logs 1&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52736#p52736"><![CDATA[
Hi!<br><br><br>When using "keep-all-logs 1", eggdrop saves the logfiles with channelname.log.dateyear (ie: wherever.log.17Jul2005). I dump all the files to a folder publically available on a webserver, but no browser understands what a 17Jul2005-file is and thus order the user to download the file and then open it manually in a texteditor. <br><br>Is there a quick way around this, to name it something like: "2005.Jul.17.channel.log"? Or do I have to write a TCL that does the job?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5706">Alpha</a> — Sun Jul 17, 2005 7:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
