virtualbox usb support ubuntu 10.10

In a host terminal run this:

sudo usermod -aG vboxusers YOUUSERNAME

Replace with the name you use to log in. Type your user password when prompted.
Also if you have a USB printer you need to be in the lp group to be able to use it on the guest.

Posted in ubuntu | Leave a comment

Make Apache Directory Listing Format Simpler with HTACCESS

To get rip of those ugly tables and Make Apache Directory Listing use a simple ul li list Format simply add this code to your HTACCESS file

IndexOptions SuppressLastModified

That’s it your DONE!!!!
http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html

http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html

http://perishablepress.com/press/2008/11/02/better-default-directory-views-with-htaccess/

Posted in Apache, HTACCESS | Leave a comment

QUICK AND DIRTY Origin Pull CDN ALTERNATIVE W/ PHP AND HTACCESS

QUICK AND DIRTY Origin Pull CDN ALTERNATIVE W/ PHP AND HTACCESS

This is my quick and dirty attempt at a dynamic mirror content cache

first .HTACCESS in the root to check if the file exist

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) cacheme.php?url=$1 [R=301, L]

and our cacheme.php file to save the files to the new sever on the fly and server them one last time from the OG server with a 302 . . .

$ogfile = $_GET['url'];

$ogserverurl = 'http://example.com/'$ogfile;

$content = file_get_contents($ogserverurl);
file_put_contents($ogfile, $content);

header("Location: $ogserverurl");

now I can enable the CDN feature in WP Super Cache and use any CHEAP “UNLIMITED BANDWIDTH” host to serve up my images on the FLY ! ! ! !

HOPE THIS WORK . . . FINGERS CROSSED !!!

Posted in Uncategorized | Leave a comment

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Posted in Uncategorized | 1 Comment