Heh, I have the power

Permalink 03/09/09 12:26, by LoganA, Categories: Uncategorized

Heh, I now have ownership of the srb2.org domain, that is all.

2 comments »

One tracked mind

Permalink 06/05/08 19:22, by LoganA, Categories: Uncategorized

yea, I started to disappear and reappear in the chat room for the last two weeks, because I had just install DD-WRT v24 on my two routers, and after that, changed my netwoork setup from over from a wireless link between the two, to an trucked Ethernet line. All this time, I forgot to send in my payment for the server :oops:. Sorry about that, I have a one tracked mind.

Leave a comment »

Pretty URLs and 404 floods from the wiki, and robots.txt

Permalink 05/10/08 23:05, by LoganA, Categories: Uncategorized

Ever since the wiki was moved here, the apache2's error log would get flood with 404 messages every time anyone accessed a page, like this

[Mon May 05 19:45:53 2008] [error] [client x.x.x.x] File does not exist: /var/www/org/srb2/wiki/common, referer: http://wiki.srb2.org/wiki/Special:Search?search=Assync+Trigger&go=Go

So I looked at MediaWiki's Manual on short URLs
I disabled the wiki site, moved the mediawiki setup into a subdirectory named "w", changed the settings in LocalSettings.php, got rid of the mess of rewrite rules that came over from the SRB2 wiki's old setup on sepwich, and added a new setup of rules in the style as seen in MediaWiki Apache configuration But after enabling the wiki site in apache, I noticed that the style sheet needed to be updated with new path.So I asked DarkWarrior to update the wiki's Common.css and updated the redirects back at srb2wiki.sepwich.com.

Lastly, I made a robots.txt file, and added the following lines in it:

User-agent: *
Disallow: /w/
Disallow: /wiki/Special:Search
Disallow: /wiki/Special:Random

So that search engines would only index the good parts of the wiki.

Leave a comment »

Wiki, wad mime type, and Fileinfo

Permalink 05/08/08 19:56, by LoganA, Categories: Uncategorized

Soo, uploading new WAD files were broken on the wiki, it was acting like the files were not allowed, so DarkWarrior sent me the problem wad file he was trying put up there, then used SCP to upload the file to my home directory, opened up my shell, and ran file on it:

logan@srb2:~$ file fof_stack_example.wad

fof_stack_example.wad: DOOM or DOOM ][ extension world

Ok, that was fine, now to tried "file -i"

logan@srb2:~$ file -i fof_stack_example.wad

fof_stack_example.wad: application/octet-stream

Ah what? So I made a new mimetype, "application/x-doom"

by adding these two lines to /etc/magic.mime

0 string IWAD application/x-doom

0 string PWAD application/x-doom

Now, when I run a file -i command on the wad file, it did this:

file -i fof_stack_example.wad

fof_stack_example.wad: application/x-doom

Yea, now to see if the problem on the wiki was fixed...

Darn, it still fails, so after some searching, I found that I needed to do. I had to install Fileinfo for PHP, and set the wiki to load it. Yea, now it works!

1 comment »

Feed validation

Permalink 05/08/08 12:47, by LoganA, Categories: Uncategorized

Well, I went over the code that makes the neat little RSS/ATOM feeds, and fixed up any small errors that turned up when I checked the XML syntax with the W3C Feed Validator. The only errors left were about the object tags in http://srb2dev.blog.srb2.org/?tempskin=_atom and http://srb2dev.blog.srb2.org/?tempskin=_rss2

Leave a comment »

:: Next >>

September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Search

XML Feeds

free blog tool

©2010 by Alam Arias

Contact | Blog theme by Asevo | blog software | webhost | monetize blog