File does not exist: … favicon.ico
# Don’t bother looking for favicon.ico
Redirect 404 /favicon.ico
# Don’t bother sending the custom error page for favicon.ico
<Location /favicon.ico>
ErrorDocument 404 “No favicon
</Location>
# Don’t bother looking for favicon.ico
Redirect 404 /favicon.ico
# Don’t bother sending the custom error page for favicon.ico
<Location /favicon.ico>
ErrorDocument 404 “No favicon
</Location>
Zainstalować Windows Virtual PC.
Zainstalować Windows XP Mode (pl).
Przejdź do folderu C:\Program Files\Windows XP Mode\
Zmień właściciela i pełne prawa do tego pliku na swojego użytkownika.
Uruchom Windows Virtual PC
Kliknij na Utwórz Maszynę Wirtualną.
Nadaj nazwę i wybierz lokalizację (dowolne).
Wybierz “Użyj istniejacego wirtualnego dysku twardego”
i wybierz “C:\Program files\Windows XP Mode\Windows XP Mode base.vhd”
Add this linedeb http://backports.debian.org/debian-backports squeeze-backports mainto your sources.list (or add a new file to /etc/apt/sources.list.d/)Run apt-get update
apt-get -t squeeze-backports install “package”
sprawdzenie konfiguracju VirtualHost
/usr/sbin/apache2ctl -S
Zatrzymaj serwer mysql.
uruchom serwer w tym trybie:
/usr/bin/mysqld_safe --skip-grant-tables --socket=/var/run/mysqld/mysqld.sock mysql --user=root mysql
update user set Password=PASSWORD('new-password-here') WHERE User='root';
w debianie –user=admin
cd /etc/ssl/misc
Nowy CA: ./CA.sh -newca
Nowa “prosba”: ./CA.sh -newreq
Podpisanie: ./CA.sh -sign
Zdejmowanie hasła: openssl rsa -in newkey.pem -out key.pem
Wpisy w httpd-ssl.conf
lcOldPrinter = SET(“printer”,2)
oPDFC = Createobject(“PDFCreator.clsPDFCreator”,”pdfcreator”)
oPDFC.cStart(“/NoProcessingAtStartup”)
oPDFC.cOption(“UseAutosave”) = 1
oPDFC.cOption(“UseAutosaveDirectory”) = 1
oPDFC.cOption(“AutosaveFormat”) = 0
DefaultPrinter = oPDFC.cDefaultprinter
oPDFC.cDefaultprinter = “pdfcreator”
oPDFC.cClearCache
oPDFC.cOption(“AutosaveDirectory”) = “c:\temp\”
oPDFC.cprinterstop=.F.
# First Report
oPDFC.cOption(“AutosaveFilename”) = “myPdf_1”
nLastDocNo=oPDFC.cOption(“Counter”)
Report Form c:\test.frx To Printer
DO WHILE oPDFC.cOption(“Counter”) <= nLastDocNo
WAIT “Waiting for finish job …”WINDOW NOWAIT noclear
nKey=INKEY(1)
nQueueCount = opdfc.cCountOfPrintjobs
enddo
# Second Report
oPDFC.cOption(“AutosaveFilename”) = “myPdf_2”
nLastDocNo = oPDFC.cOption(“Counter”)
Report Form c:\test2.frx To Printer
DO WHILE oPDFC.cOption(“Counter”) <= nLastDocNo
WAIT “Waiting for finish job …”WINDOW NOWAIT noclear
nKey=INKEY(1)
nQueueCount = opdfc.cCountOfPrintjobs
enddo
…… and so on …
Set Printer To Name (lcoldPrinter)
oPDFC.cDefaultprinter = DefaultPrinter
oPDFC.cClearCache
Release oPDFC
Eksport drukarek z cupsa do samby.
cupsaddsmb -H adres_ip -U root -a -v
sysctl kernel.panic = 10
( zrestartuje maszyne 10 sekund po panicu ).
Wisujemy cmd w Command Window a potem, Ctrl+Shift + Enter.