MyComputingArt

Articles about computing. What are you interested in?

Current filter: »apache« (Click tag to exclude it or click a conjunction to switch them.)

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



.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
  4. and for bandwidth reduction, forbid robots from crawling some pages
(Updated May 17 2014)

See full post ...



   PDF

Posted by: Z24 | Wed, May 04 2011 | 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 ...



   PDF

Posted by: Z24 | Sun, Sep 10 2006 | Category: /configurations/windows | 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.

   PDF

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


About
About
RSS
rss
Donate
Did I save you time or trouble?

Thanks ;-)
Skin
Categories
Archives
Search
Search MyComputingArt

word word = any word
+word +word = all the words
regexp pattern


Search hardware reviews

Visitors

since August 2006

free counters
since September 2009


Powered by Blosxom
FlagCounter Locations of mycomputingart.com visitors Map

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()).