Showing posts with label www. Show all posts
Showing posts with label www. Show all posts
2007-02-07
Deactivate PHP for a container
Since I have set up a File-center on my web server, I never thought about deactivating PHP for the public folder. Now it is done and it is a one line directive. Run "echo SetHandler send-as-is > /to/your/root/public/folder/.htaccess".
2006-11-01
File-center
I have finally rewritten my File-center project. It is a simple interface to download and upload files. Now I use Smarty for this project and the default template is really nice. The scripts for download and upload are simple too, and you never need to get to another interface. You just upload a file, and next it appears in the current working directory. If you want to download a file, the page will be reloaded and the download will start within 3 seconds.
It is on Freshmeat.net/projects/filecenter/ but the webpage of the project is hosted on my french homepage.
It is on Freshmeat.net/projects/filecenter/ but the webpage of the project is hosted on my french homepage.
2006-10-15
DokuWiki
Hi, long time gone since my last post. Well, I was not doing "nothing", it's just annoying to blog until it is worth ;-)
I started to take my notes from school with Zim. It's a nice desktop wiki, simple and fast, which writes text files that can be sorted in a tree. It does a really nice job. I'm getting used to Inkscape also, because I use it to draw the schemes and so on.
After awhile I wanted to provide my notes on my website, so I started looking for a Wiki, 1) which writes to text files, 2) which supports more or less the same wiki syntax, 3) which is easy to update when I make changes from Zim.
I figured out DokuWiki, already used by two Xfce projects (Goodies and Thunar). The installation is really easy: download the latest version (currently there are RCs) from here, extract the tarball inside one of your web directory, and launch install.php. One click and you can start with the wiki :-)
I tested some stuff around, and I have get really good help from Christopher on the ##dokuwiki channel at Freenode. Thank you dude :)
First I configured a bit more DokuWiki, these are some of the settings I am using:
The configuration userewrite allows to use pretty URLs. With its value set to 2 you can have URLs like http://host/wiki/dokuwiki.php/directory:file. With 1 you can use URLs rewrites from Apache or Lighttpd which removes dokuwiki.php from the URLs. With 0 the pretty URLs are not used.
mailguard obfuscates the emails in the way to avoid spam.
Finally, mediadir and mediaweb, are set to the same directory as the pages. I did so to simplify synchronization between the Zim and the wiki. With this setting I just have to connect to FTP with lftp, cd into the pages directory and run mirror -R.
I needed to get a syntax working with the one written by Zim. There is a plugin Creole available which has the same syntax for the lists, and does proper breaklines for each end of line, I just had to remove the heading tho. You can download it here. Note that I still need to have a look at it for some formatting.
Finally I integrated a sitemap into the default theme with some piece of code from indexmenu plugin. You can download the theme here.
You can visit my DokuWiki at http://mykey57.free.fr/asrall/.
I started to take my notes from school with Zim. It's a nice desktop wiki, simple and fast, which writes text files that can be sorted in a tree. It does a really nice job. I'm getting used to Inkscape also, because I use it to draw the schemes and so on.
After awhile I wanted to provide my notes on my website, so I started looking for a Wiki, 1) which writes to text files, 2) which supports more or less the same wiki syntax, 3) which is easy to update when I make changes from Zim.
I figured out DokuWiki, already used by two Xfce projects (Goodies and Thunar). The installation is really easy: download the latest version (currently there are RCs) from here, extract the tarball inside one of your web directory, and launch install.php. One click and you can start with the wiki :-)
I tested some stuff around, and I have get really good help from Christopher on the ##dokuwiki channel at Freenode. Thank you dude :)
First I configured a bit more DokuWiki, these are some of the settings I am using:
$conf['userewrite'] = '2';
$conf['mailguard'] = 'visible';
$conf['mediadir'] = 'data/pages';
$conf['mediaweb'] = 'data/pages';
The configuration userewrite allows to use pretty URLs. With its value set to 2 you can have URLs like http://host/wiki/dokuwiki.php/directory:file. With 1 you can use URLs rewrites from Apache or Lighttpd which removes dokuwiki.php from the URLs. With 0 the pretty URLs are not used.
mailguard obfuscates the emails in the way to avoid spam.
Finally, mediadir and mediaweb, are set to the same directory as the pages. I did so to simplify synchronization between the Zim and the wiki. With this setting I just have to connect to FTP with lftp, cd into the pages directory and run mirror -R.
I needed to get a syntax working with the one written by Zim. There is a plugin Creole available which has the same syntax for the lists, and does proper breaklines for each end of line, I just had to remove the heading tho. You can download it here. Note that I still need to have a look at it for some formatting.
Finally I integrated a sitemap into the default theme with some piece of code from indexmenu plugin. You can download the theme here.
You can visit my DokuWiki at http://mykey57.free.fr/asrall/.
2006-09-05
Note to webmasters
I was watching the statistics of my website, from free.fr, when, *wohoo*, I have seen there were over 10000 visits in the last month. What's happening there? My website? 10000 visits? Something _is_ wrong!
After I've check out the facts, a website was using an image directly from mine. That sucks, and this webmaster is just an idiot. I was looking around his website to get contact with him, but, WTF is his email?! Nothing here, nothing there. OK! I have a radical solution to get him to drop the image.
At this point you could be shocked if the name "g0atse" is something you don't know. So please don't open the next links I will print. The icon in question was no more used in my website, so I had just to create a special image for replacement >:-) I did, and voilĂ the result: comar.gry-online.pl.png. It took less than 6 hours before he dropped the image, actually he uploaded the original image to imageshack.us. Still an idiot.
So, webmasters, do NEVER use an image directly from another website, it could be dropped from a day to another, or even worse...
After I've check out the facts, a website was using an image directly from mine. That sucks, and this webmaster is just an idiot. I was looking around his website to get contact with him, but, WTF is his email?! Nothing here, nothing there. OK! I have a radical solution to get him to drop the image.
At this point you could be shocked if the name "g0atse" is something you don't know. So please don't open the next links I will print. The icon in question was no more used in my website, so I had just to create a special image for replacement >:-) I did, and voilĂ the result: comar.gry-online.pl.png. It took less than 6 hours before he dropped the image, actually he uploaded the original image to imageshack.us. Still an idiot.
So, webmasters, do NEVER use an image directly from another website, it could be dropped from a day to another, or even worse...
Subscribe to:
Posts (Atom)