Blog du metabaron

Aller au contenu | Aller au menu | Aller à la recherche

Bienvenue sur mon blog!

Technologie › Configuration

Tous les billets consacres a la configuration d'un outil ou d'un logiciel

Fil des billets - Fil des commentaires

mardi, mai 11 2010

Resilier son compte vente-privee.com

Recemment, vente-privee a annoncer qu'ils vendaient leur base cliente alors qu'ils annoncaient avoir un business plan correct ne necessitant pas de telles pratiques.
De plus, quittant la France, j'ai decide de supprimer mon compte chez eux, pour ne pas recevoir de mails que je n'ai pas accepte (je n'ai pas fait un update de mon compte leur permettant de vendre mon adresse email) et car je quitte la France.

Pour ceux que cela interesse, voici comment supprimer votre compte chez vente-privee.com:

  • Rendez-vous dans la partie Aide & Contact
  • Selectionnez la partie Question relative a mon compte
  • Selectionnez le lien Resiliation de compte
  • Et apres, c'est tout simple :)

lundi, mai 10 2010

Comment effacer son compte facebook

J'ai ecris, fut un temps, un article expliquant la maniere de supprimer son compte Viadeo.
Cet article ayant un certain succes, et aux vues des problemes actuels lies a Facebook, je me suis dis qu'expliquer comment supprimer son compte Facebook pourrait servir.

Voici donc la procedure a suivre pour effacer votre compte Facebook:

  • Se connecter a votre profil Facebook
  • Suivez ce lien
  • Entrez votre mot de passe et le message de securite
  • Votre compte sera alors supprime de Facebook dans les 14 jours


Note: Il vous est toujours possible d'annuler cette suppression en vous connectant a nouveau sur votre compte.

mercredi, novembre 25 2009

New version of Mozilla Weave server: 1.0

Recently, Mozilla foundation released a new version of Mozilla Weave server (version 1.0). You can download the latest version on this website and read the ...documentation... on the dedicated wiki.

I have to say that, using the full version, I spent almost 3 days on trying to update my previous installation and have something I can use.

So I decided, again, to share with you my configuration files so that people can install their personal weave server.

Virtualhost configuration file:

<VirtualHost *>
	ServerAdmin webmaster@metabaron.net

	Alias /1.0 /var/www/mozilla/server/sync/1.0/index.php
	Alias /user/1 /var/www/mozilla/server/user/1/index.php
        Alias /misc/1/captcha_html /var/www/mozilla/server/misc/1/captcha.php
	
	ServerName mozilla.metabaron.net
	DocumentRoot /var/www/mozilla/server/

	<Directory /var/www/mozilla/server/>
	Options Indexes FollowSymLinks
	AllowOverride none
        Order allow,deny
        Allow from all
	</Directory>

	ErrorLog /var/log/apache2/mozilla.metabaron.net-error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/mozilla.metabaron.net-access.log combined
	ServerSignature On
</VirtualHost>

weave_user_constants.php file: Change

if (!defined('WEAVE_REGISTER_STORAGE_LOCATION')) { define('WEAVE_REGISTER_STORAGE_LOCATION', 'null'); }

to

if (!defined('WEAVE_REGISTER_STORAGE_LOCATION')) { define('WEAVE_REGISTER_STORAGE_LOCATION', 'XXX.metabaron.net'); }

Important: If you are using, as I'm using, a HTTP server and not a HTTPS, find all references to https and change them for http If you don't want to use Captcha when registering a new user, change

if (!defined('WEAVE_REGISTER_USE_CAPTCHA')) { define('WEAVE_REGISTER_USE_CAPTCHA', 0); }

to

if (!defined('WEAVE_REGISTER_USE_CAPTCHA')) { define('WEAVE_REGISTER_USE_CAPTCHA', 1); }

Of course, you'll have to change the databases tables for the new one (read the wiki documentation).

If you already have a user, you'll only have to select Start over from the preferences and point to your custom server, your user will be recreated on the weave server and your data uploaded on the new weave installation.

I hope this will help some of you.

samedi, septembre 5 2009

Weave server 0.5 and weave client 0.6

Recently, I upgraded my weave client to version 0.6.
Weave is a client/serveur solution allowing you to save and synchronize all your firefox data to a server (more information about the client here and about the server here). You can use Mozilla servers (look here) or your own if you want to handle data locally.

That's the solution I choose: set up my own weave server

Setting up things was a real pain in the ass so I decided to share with you my configuration files:

<VirtualHost *>
        ServerAdmin webmaster@XXXX.net

        Alias /0.3/user /var/www/XXXX/server/index.php
        Alias /weave/admin /var/www/XXXX/server/admin.php
        Alias /0.5 /var/www/XXXX/server/0.5/index.php
        Alias /user/1 /var/www/XXXX/server/user/1/index.php
        Alias /misc/1/captcha_html /var/www/XXXX/server/misc/1/captcha.php

        ServerName XXXX.YYYYY.net
        DocumentRoot /var/www/XXXX/server/

        <Directory /var/www/XXXX/server/>
        Options Indexes FollowSymLinks
        AllowOverride none
        Order allow,deny
        Allow from all
        AuthName "Weave Storage"
        AuthType Basic
        AuthUserFile /var/www/XXXX/users_pass
        require valid-user
        </Directory>

        ErrorLog /var/log/apache2/XXXX.YYYY.net-error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/XXXX.YYYY.net-access.log combined
        ServerSignature On
</VirtualHost>

Download the latest version of Mozilla weave server. and install it (mine is stored at /var/www/XXXX/server)
Follow the instructions here and after here.

Something important is written in the documentation:

  • Edit user/1/weave_user_constants.php and find line
if (!defined('WEAVE_REGISTER_STORAGE_LOCATION')) { define('WEAVE_REGISTER_STORAGE_LOCATION', null); }

Change "null" to your domain name such as "'XXXX.YYYY.net'" if you have only one server location

  • If your server is HTTP based and not HTTPS based, don't forget to change all URL reference from https to http.


Hope this will help all of you.

vendredi, juin 26 2009

Awstat et les sous-domaines

Ce qu'il y a de bien sur Awstats, c'est qu'il gere parfaitement le fait que vous ayez plusieurs sous-domaines, pour peux que vous ayez configure Apache pour stocker les logs dans des fichiers differents selon le sous-domaine. Par contre, il n'est pas si facile que cela d'afficher le sous-domaine qui vous interesse dans Awstats sans changer l'url d'appel au script CGI et encore moins de n'afficher qu'un simple resume de base.

Et bien, AwstatsTotal va vous y aider. Il permet d'afficher le minimum vital des statistiques d'Awstats et d'acceder aux statistiques de tous vos sous-domaines par un simple clique de souris.

Si vous rencontrez le message suivant en installant AwstatsTotal:

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/var/www/apache2-default/awstatstotals.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

Faite un petit chmod qui resoudra votre probleme:

chmod 755 awstats*

- page 1 de 3