giovedì 26 aprile 2007

Limitare l'acceso con apache...

AuthName "Test"
AuthType basic
AuthUserFile /var/www/allowedusers
require valid-user
Order allow,deny
Allow from my.ip.address.here
Satisfy any

E funzica correttamente, se mi collego da 'my.ip.address.here' mi fa
passare senza chiedermi niente, altrimenti chiede la password.
Prova un po' a vedere se ti funziona meglio con il 'Order'...

giovedì 19 aprile 2007

Mysql Foreign key error 150

Foregin keys have to be indexed in both tables, as explained in the
manual
http://dev.*mysql*.com/doc/*mysql*/en/innodb-*foreign*-*key*-constraints.html
<http://dev.mysql.com/doc/mysql/en/innodb-foreign-key-constraints.html>

You need an index on owner.owner before you can create the *foreign
**key*
constraint.

I permessi di mysql

CREATE USER 'root'@'172.21.3.35' IDENTIFIED BY '';

GRANT ALL ON *.* TO 'root'@'172.21.3.35' WITH GRANT OPTION;

FLUSH PRIVILEGES;


ATTENZIONE:

In 4.1.x, you don't need to use CREATE USER. Simply using GRANT to
grant privileges to a user implicitly "creates" the user.

mercoledì 18 aprile 2007

Eliminare dati locali outlook 2003

I want to refresh a folder or the entire local copy of my data.
<javascript:ToggleDiv('divExpCollAsst_16')>

Clear all items in a folder from the local copy
<javascript:ToggleDiv('divExpCollAsst_17')>

1. In the *Navigation Pane*, right-click the folder you want to clear.
2. Click *Properties*.
3. Click *Clear Offline Items*.

Clear all items from the local copy
<javascript:ToggleDiv('divExpCollAsst_18')>

1. Locate the file name and location of the .ost file.
1. In the *Navigation Pane*, right-click *Mailbox - /name/*.
2. Click *Properties*.
3. Click *Advanced*.
4. Click the *Advanced* tab, and then click *Offline Folder
File Settings*.

The file name and location is displayed in the *File* box.

2. Quit Outlook.
3. Delete the Offline Folder file (.ost) used by Cached Exchange Mode.
4. Start Outlook.

The offline copy of your mailbox will be recreated. This may take
several minutes, depending upon the size of your mailbox.

martedì 17 aprile 2007

Varibili di ambiente microsoft windows

Per vedere le variabili di ambiente di microsoft windows:
Start -> esegui -> cmd
comando
set

venerdì 13 aprile 2007

Il mio software per la gestione delle sagre

Questo software gestisce ordini e pagamenti ed è stato realizzato per
la gestione della cassa delle sagre e dei ristoranti.
Funziona su apache + php + mysql
http://www.mpsistemi.net/maurizio/gca.php

Il mio curriculum...

http://www.maurizio.proietti.name/MieiDoc/Curriculum.Maurizio.Proietti.pdf

martedì 10 aprile 2007

Mettere immagini avviabili su dispositivi USB da windows

Mettere immagini avviabili su dispositivi USB da windows


1. Formatta in FAT la tua chiavetta (o disco) usb
2. Scarica la tua immagine da mettere sull'usb e WinImage (scaricalo e
installalo)
3. Apri WinImage, selezione l'immagine avviabile da trasferire sull'usb;
Poi scegli "Usa disco rimovibile (x:)"
4. Seleziona Scrivi immagine.
5. Il sw dirà che l'immagine deve essere ridimensionata... ecc...
rispodi si e continua
6. Adesso se non funziona l'avvio da usb scarica
http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-3.36.zip
e lancia syslinux x:
con x: unità della penna usb

Originale: http://www.damnsmalllinux.org/talk/node/67


2.f - Imprinting Bootable Images to USB Devices (Windows)

This is how to install DSL to a USB Key from Windows XP (98,NT,2000?)
workstation without burning the ISO and without having to boot into DSL
from the CD and partition theUSB key. (of course if you want to
partition it you'll have to use a partitioning tool, cfdisk, or
something else like
that)

1. Procure USB Key and make sure it is formatted with FAT, just to be
sure its working. (ugh.)

2. Download the images necessary (as of this writing, bootimage 0.8 was
used and filesystem image 0.9.0.1 was used.) and also download WinImage
(a share/freeware program -- google it.), and install Daemon Tools or
some other ISO viewing/manipulating program.

3. Open winimage, Select the boot image you wish to use, select "Use
removable disk (x:) with x: being the drive letter of your USB key you
wish to install DSL onto.

4. Select write image. It may say 'image must be resized' blah blah. Do it.

5. Once that is complete, view the USB drives contents in windows
Explorer. Mount the filesystem image to another drive. The filesystem
image contains a directory called 'boot'. You can overwrite the files in
the root of the USB Key with the files from boot/. This basically replaces
bootimage 0.8 (since it seems to not be updated with the system release)
with what I'll just call bootimage-current. (basically the boot files
for whatever filesystem image you're using) In this case, 0.9.0.1.

6. Confirm overwriting of the files. Assuming your bios is up to date,
and you've read a lot of the other facts on 'making sure your usb key
will work with your bios, etc') then all you should have to do is reboot
and set the USB drive as the boot drive. DSL boots up, loads, and thats
where
I'm writing this from.

7. For more help on 'customizing' your DSL install check doom4's post in
this forum about 'DSL on USB-stick HOWTO' It also goes over some DSL
basics that I didn't cover.
http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?;act=ST;f=11;t=3613

For the record, stay away from cheap knockoff USB keys...they're fine
for windows and stuff like that but apparently it doesn't like DSL.

Slax su penna usb

*Basic essentials:*

* A 256MB or larger USB flash drive
* HP-USB Format tool (Optional)
* USBSLAXFULL.zip

*Here is the tutorial:*

*Warning:* DO NOT RUN makeboot.exe from your local hard drive!! It is
intended to be run from your USB device.

1. Download
<ftp://ftp.compaq.com/pub/softpaq/sp27001-27500/SP27213.exe> the
HP-USB Format tool and format your flash drive using the Fat or
Fat32 option.
2. Download
<http://prdownloads.sourceforge.net/pendrivelinux/USBSLAXFULL.zip?download>
the USBSLAXFULL.zip
3. Extract the contents of the USBSLAXFULL.zip to your "flash drive".
4. Browse to your "flash drive" and click the Makeboot.exe
5. follow the on screen instructions.
6. Reboot your computer and set your system BIOS to boot from USB-HDD
or USB-ZIP. Also set the boot priority if necessary.

*Please note:* This tutorial has been tested to work from a Windows XP
computer with .net and service pack updates. Other operating
environments may or may not support the use of the installer.

*origine: http://www.pendrivelinux.com/2006/09/20/all-in-one-usb-slaxzip*

venerdì 6 aprile 2007

Parametri per la configurazione della posta elettronica (e-mail)

Questo riepilogo non è disponibile. Fai clic qui per visualizzare il post.