I wanted to test the access to my web server, not with the http://localhost adress, but with the WAN adress provided by my ISP.
I set port forwarding in the router: to the port 80. But still couldn't access the files. It's because of a Lan loopback problem. Or something like that.
I had to use a proxy server instead. Search on wikipedia if you want a list of available proxies. Then with a Danish anonymus proxy, changing the browser settings to use that proxy, I could see that my site was reachable from the outside.
Thursday, September 22, 2005
Wednesday, September 21, 2005
wiki moin moin
I installed the MoinMoin wiki-engine on my Unbuntu computer.
I followed the instruction in /usr/share/doc/README.Debian
But I had a problem because I changed url_prefix to "WikiBacknang". Witch I shouldn't have done. because url_prefix is for the style sheet and css. You can see the forward in apache2.conf.
This is a part of the working moin_config.py
sitename = 'Ein Wiki in Backnang'
interwikiname = None
data_dir = './data/'
url_prefix = '/wiki'
logo_url = url_prefix + '/classic/img/moinmoin.png'
# tweaks for german as primary locale
default_lang = 'de'
page_front_page = 'StartSeite'
navi_bar = ['StartSeite','HilfeInhalt','AktuelleÄnderungen','SeiteFinden']
page_iconbar = ['edit','view','diff','info','print']
apache2.conf
#this the path to css and images
Alias /wiki/ "/usr/share/moin/htdocs/"
#this is the main entry point for wiki users
ScriptAlias /BacknangWiki "/var/local/lib/backnangwiki/moin.cgi"
Voilà. It works, now I would like to have the footer in german.
I followed the instruction in /usr/share/doc/README.Debian
But I had a problem because I changed url_prefix to "WikiBacknang". Witch I shouldn't have done. because url_prefix is for the style sheet and css. You can see the forward in apache2.conf.
This is a part of the working moin_config.py
sitename = 'Ein Wiki in Backnang'
interwikiname = None
data_dir = './data/'
url_prefix = '/wiki'
logo_url = url_prefix + '/classic/img/moinmoin.png'
# tweaks for german as primary locale
default_lang = 'de'
page_front_page = 'StartSeite'
navi_bar = ['StartSeite','HilfeInhalt','AktuelleÄnderungen','SeiteFinden']
page_iconbar = ['edit','view','diff','info','print']
apache2.conf
#this the path to css and images
Alias /wiki/ "/usr/share/moin/htdocs/"
#this is the main entry point for wiki users
ScriptAlias /BacknangWiki "/var/local/lib/backnangwiki/moin.cgi"
Voilà. It works, now I would like to have the footer in german.
Friday, September 16, 2005
Mount iso image, read ext3 from windows
To mount an .iso image, you can use virtual Daemon on windows. To mount an iso image on linux, you use the mount command. With a -0 flag. I didn't try it yet.
To read a linux ext3 partition from windows, you can use explore2fs.
Site from a belgian guy with lots of linux suff: godot.be.
To read a linux ext3 partition from windows, you can use explore2fs.
Site from a belgian guy with lots of linux suff: godot.be.
Tuesday, September 06, 2005
mod_python
I installed the apache2 server. And the lib mod_python.
You'll have to edit /var/apache2/apache2.conf to add a handler for the python files. See this wizard.
To restart sudo apache2 -k restart
If you have it configured, the call to the url http://localhost/test/function will directly call the function "function" in your test.py script. Isn't it nice?
And the call to the url http://localhost/test/function?name=you will call the function with the parameter you.
You'll have to edit /var/apache2/apache2.conf to add a handler for the python files. See this wizard.
To restart sudo apache2 -k restart
If you have it configured, the call to the url http://localhost/test/function will directly call the function "function" in your test.py script. Isn't it nice?
And the call to the url http://localhost/test/function?name=you will call the function with the parameter you.
Monday, September 05, 2005
Samba on Ubuntu linux
SMB how to list shares available on a host :
Sometimes the file browser complains that the folder is not mounted.
Old content from my 2005 blog post :
I found some interesting samba config on this forum (link not available anymore)
I also used VNC-viewer to see the desktop from a windows machine.
smbclient -L host
Then connect to a shared folder on a host, in my case:smbclient \\\\freebox\\Disque\ durThen under pcmanfm (my file browser) I can access it at the addess
smb://freebox/Disque dur
Sometimes the file browser complains that the folder is not mounted.
According to this question cifs utils should now be used to mount a smb drive:
sudo mount -t cifs //server_name/ samba/ -o rw
Maybe this is what my file browser does in the background when I ask it to got the the smb:// address?Old content from my 2005 blog post :
I found some interesting samba config on this forum (link not available anymore)
I also used VNC-viewer to see the desktop from a windows machine.
python, CMS
Plone a content mannagement system based on python and Zope
roWiki, a php wiki that uses only text files
twisted, a python base asynchronus networking framework:
Glade asks for users and beta testers:
roWiki, a php wiki that uses only text files
twisted, a python base asynchronus networking framework:
Glade asks for users and beta testers:
Glade-3 is not much far from being usable, but unfortunately at the moment the developement is not as fast paced as we would like. Given that the Glade user base is mostly made of developers it would be great if you could help with it: work on Glade-3 may be a great learning experience since the difficulty of things you can work on range from basic GTK+ GUI programming to the deep secrets of the GObject system.
Subscribe to:
Posts (Atom)