MyComputingArt

Articles about computing. What are you interested in?

.htaccess, apache, bloxsom, broadcast, case, client-server, command-line, configuration, cool'n'quiet, cooling, cpu, disk suspension, dsl, error, fan, fan controller, file management, firewall, freeware, google earth, gps, grub, hardware, heatsink, howto, images, lapping, linux, measurement, motherboard, mp3, mysql, password, pda, perl, programming, qemu, rdp, regex, router, screen recording, script, security, shell, silencing, software, system recover, tools, ubuntu, virtualization, visual basic, VMWare, vnc, web, windows, wireless, xen, xp


About
About
RSS
rss
Skin
Default
Old browsers
Categories
Archives
Search
word word = any word
+word +word = all the words
regexp pattern


Powered by Blosxom




Ads



AMD Cool'n'Quiet

I'll try to answer these questions:

See full post ...



Posted by: Z24 | Sat, Feb 17 2007 | Category: /configurations/both | Permanent link | home
Tagged as: , , , , , , ,



.htaccess: an example of the Apache per-directory configuration file

Using bloxsom as my weblog designing application, I had to provide some settings to the Apache .htaccess configuration file to fine-tune the usage of my site:

  1. tell Apache to load index.cgi in addition to the default index.htm
  2. rewrite the requested address adding www. if it's omitted
  3. rewrite the requested address adding index.cgi if it's omitted

See full post ...



Posted by: Z24 | Sun, Feb 11 2007 | Category: /configurations/both | Permanent link | home
Tagged as: , , , ,



Remove XP Pro or Win Server 2003 bandwidth limit

Run Group Policy (gpedit.msc) and go to Computer Configuration -> Administrative Templates -> Network -> QoS Packet Scheduler and change "Limit reservable bandwidth" to "Enabled" with a value of 0%. By default it appears disabled but read the description and you'll discovered it's enabled with a value of 20%.

Posted by: Z24 | Sat, Oct 28 2006 | Category: /configurations/windows | Permanent link | home
Tagged as: , ,



Seeing MySQL queries, just like MS SQL Profiler

Just execute mysqld with the --log[=filename] or -l[=filename] command-line option. If filename is omitted, hostname.log will be created in the mysql data directory.
Or edit my.ini adding log=filename line (i.e. if you use WAMP).
Then restart mysqld.

Posted by: Z24 | Sat, Oct 21 2006 | Category: /configurations/both | Permanent link | home
Tagged as: ,



WAMP & Perl - Windows Apache, MySQL, PHP with CGI scripts written in Perl

I need Perl to run Blosxom, an open source and free CGI script to create blogs.
So I installed WAMP5 1.6.4a and ActivePerl 5.8.8.817 with MSI installer.
I already have my site on my disk, so I told my site directory to WAMP during the setup procedure and then I pointed my browser to http://localhost/index.cgi but it displayed the cgi instead of executing it.
This is what I did to make it work:

See full post ...



Posted by: Z24 | Sun, Sep 10 2006 | Category: /configurations/windows | Permanent link | home
Tagged as: , ,



Blosxom: How to insert a fixed path for images in Blosxom

I wrote some post on my new site created with Blosxom and I wanted to insert some images that I put in a directory called images under my website address root.
I found different solutions:

See full post ...



Posted by: Z24 | Sun, Sep 10 2006 | Category: /configurations/both | Permanent link | home
Tagged as: ,



Running PHP scripts from command-line with WAMP (Windows Apache, MySQL, PHP)

On my old pc I installed Apache, MySQL and PHP singularly, and I made some PHP scripts to be runned from command-line, like this:

c:\php\php -f myscript.php
On my new pc I installed WAMP5 1.6.4, all was running fine (phpMyAdmin, my local website, php scripts pointed to by the browser) but php scripts launched by command-line reported
Fatal error: Call to undefined function mysql_connect() in myscript.php
Obviously I changed the php path to c:\wamp\php\php but with no results.
Solution: change the command to
c:\wamp\php\php -c c:\wamp\apache2\bin -f myscript.php
The -c option tells php to search php.ini in the directory specified, and that's needed because WAMP puts php.ini in Apache bin directory, while with a PHP regular installation php.ini is located in the php.exe directory.

Posted by: Z24 | Sun, Aug 27 2006 | Category: /configurations/windows | Permanent link | home
Tagged as: ,



Valid HTML 4.01 Strict    Valid CSS!

http://www.mycomputingart.com/

To contact the webmaster and author write to: info<at>mycomputingart<dot>com
© mycomputingart.com, year(today()).