|
Create a file called .htaccess and place in your root web folder with one of the follow declarations. Copy and past the code between the line Redirect a single page ------------------------------------------------------------------------ redirect 301 /old_page.htm http://www.you.com/new.htm ------------------------------------------------------------------------ Redirect all pages to a new extension (like asp to php)------------------------------------------------------------------------ RewriteEngine on RewriteBase / RewriteRule (.*).asp$ /$1.php [L, R=301] ------------------------------------------------------------------------ Labels: development, linux
mod_rewrite is an Apache module that allows for server-side manipulation of requested URLs. Incoming URLs are checked against a series of rules. The rules contain a regular expression to detect a particular pattern. If the pattern is found in the URL, and the proper conditions are met, the pattern is replaced with a provided substitution string or action. This process continues until there are no more rules left or the process is explicitly told to stop. Link: http://net.tutsplus.com/tutorials/...Labels: development, linux
A quick overview before we dive into code, in today's tutorial we will go over two slightly different methods of creating pretty URLs using HTACCESS. The difference between the methods is whether Apache or PHP is doing the heavy lifting to break the URL apart for parsing. I want to point out that mod_rewrite tutorials are almost as old as the internet itself and this is not the first. At the end I will use one of the methods to create a simple application to show how these solutions would look in a real-live website (well not 100% production quality). Link: http://net.tutsplus.com/tutorials/...Labels: development, linux, php
Ubuntu Studio. A multimedia creation flavor of Ubuntu.
Ubuntu Studio is aimed at the GNU/Linux audio, video and graphic enthusiast as well as professional.
We provide a suite of the best open-source applications available for multimedia creation. Completely free to use, modify and redistribute. Your only limitation is your imagination. This is more of a quick post about something that may be of interest to the Linux readers. Not sure how old or how actively maintained this is. Check it out and leave a comment if you decide to install it. Link: http://ubuntustudio.org/homeLabels: linux, multimedia
 Linux has come a long way in support for multimedia and graphics. Today we will see how to transform Ubuntu 8.10 into a media center platform. You can achieve this using various software like MythTV and Boxee, but we’re going to use XBMC Media Center (formerly XBox Media Center).
XBMC is an award winning media center application for Linux, Mac OS X, Windows and XBox. The ultimate hub for all your media, XBMC is easy to use, looks slick, and has a large helpful community. Link: http://tombuntu.com/index.php/2008/12/09/...Labels: linux, multimedia
 If this will be anything like his original The Great Software List, which was geared towards Windows software, then The Great Software List for Linux will be an amazing resource of invaluable software. Even though I'm not much into Linux I can still appreciate the level of software he is recommending. Check this resource out, and be sure to bookmark it. When is The Great Software List for Online Applications coming? Link: http://www.anova.org/software/index.htmlLabels: linux, software
 it’s one of the smallest PCs in the world, with each side measuring around 2 inches square. I wrote that it looked cool, ran on a 300MHz processor and that it probably wouldn’t be sold outside of Japan, if at all. Link: http://www.pcpro.co.uk/blogs/2008/08/27/...Labels: hardware, linux
A few sources for good information and help on rewriting URLs. - Mod_Rewrite Wizard: Using this tool you can transform long dynamic URLs into short static URLs. Enter your dynamic URL and click Start.
- An Introduction to Rewriting: The Apache server’s mod_rewrite module gives you the ability to transparently redirect one URL to another, without the user’s knowledge. This opens up all sorts of possibilities, from simply redirecting old URLs to new addresses, to cleaning up the ‘dirty’ URLs coming from a poor publishing system — giving you URLs that are friendlier to both readers and search engines.
- mod_rewrite Tips and Tricks for Apache .htaccess: A nicely compiled list of tips and tricks.
Also check out my blog post ' See what htaccess can do for you' Labels: development, linux, web server
Knoppix STD is a Linux-based Security Tool. Actually, it is a collection of hundreds if not thousands of open source security tools. It's a Live Linux Distro, which means it runs from a bootable CD in memory without changing the native operating system of the host computer. Its sole purpose in life is to put as many security tools at your disposal with as slick an interface as it can. Knoppix STD doesn't even have to be installed. Just burn it to a CD, place it in your CD drive, reboot the computer and let it boot from the CD. Knoppix STD will be setup for you. Couldn't be easier to play around with a Linux distro or in this case test out some hacker tools. (built ontop of Knoppix) Link: http://www.knoppix-std.org/Other distros to check out: - Slax - Some cool custom distros, each for a certain purpose (all fits on a single CD)
- Helix - Used for computer forensics (built on Knoppix)
Labels: hacking, linux, security
With a secure web server, clients can connect to your server secure in the knowledge both that it is who it claims to be and that the transaction is well-encrypted so their data is safe. The best way of doing this is with Apache 2, the leading Linux web server software, and Secure Sockets Layer, a secure communication protocol. Transport Layer Security (TLS) is the successor to SSL, but they work in basically the same way. I'll refer from here on just to SSL. Link: http://www.onlamp.com/...Labels: linux, web server
 Will gOS become something huge in the OS market? Have you downloaded it and given it a try? I haven't had the chance yet but am interested in it and when I get some time will probably do so. I just wanted to do a quick post since its move a bit more forward with the Rocket Beta release. Link: http://www.thinkgos.comLabels: linux, open source
Helix is a customized distribution of the Knoppix Live Linux CD. Helix is more than just a bootable live CD. You can still boot into a customized Linux environment that includes customized linux kernels, excellent hardware detection and many applications dedicated to Incident Response and Forensics.
Helix has been modified very carefully to NOT touch the host computer in any way and it is forensically sound. Helix wil not auto mount swap space, or auto mount any attached devices. Helix also has a special Windows autorun side for Incident Response and Forensics. Link: http://www.e-fense.com/helix/Labels: linux, software
Have you ever wondered what software powers sites like YouTube, Flickr, and MySpace? Wonder no more because Pingdom has the scoop! The results are located in the table above, and as you can see Linux, Apache, and MySQL are among the most popular tools. In the end this is how the stats play out: Link: http://.../what-software-powers-nine-of-the-largest-sites/Labels: linux, php, web server, website
A team of Microsoft spokespeople have been working throughout the day to devise a plausible explanation for a comment made by CEO Steve Ballmer during a company gathering in the UK, which on its face appears to say it is considering litigation against users of Red Hat Linux for copyright infringement. Read more: http://...Microsoft_Scrambling_to_Explain_Ballmer_Comment/Labels: linux, microsoft
WOS Portable: "WOS stands for the three letter abbreviation Webserver On Stick and makes it possible, to run a webserver based on Apache, MySQL and PHP from an USB Stick or any other writable media (harddrive, flash cards etc.) without installation under Windows (98 to Vista). There are three different versions of WOS:" This is a great way to showcase a PHP website when you have no control over the location. Simply place the website on a USB drive, carry to the location, showcase your work and accept pat on the back. Link: http://www.chsoftware.net/en/useware/wos/wos.htmLabels: development, hardware, linux, php, technology
 Read the on going story of one Windows users journey into the land of Linux. Will he make it? Will he stay? Will he be back for Windows 7 ? (queue cliffhanging music). Link: http://.../index.php?topic=8777Labels: linux, windows
If you haven't seen any of the video of the 3D Desktops that are floating around, boy are you missing out. You have to check the videos out and see how amazing a 3D Desktop can be. Link: http://crave.cnet.com/...Labels: linux, open source, software, technology
If you have never heard of an htaccess file that you may missing on some very powerful things that you can be doing on your website. Instead of spelling it all out here I will provide some links to some of the best website on htaccess. htaccess Generator:http://cooletips.de/htaccess/ .HTACCESS files useful tips and tricks:http://www.garnetchaney.com/htaccess_tips_and_tricks.shtmlUsing the .htaccess File:http://www.wise-women.org/tutorials/htaccess/Online htpasswd Creator:http://www.veign.com/tools/htpasswd-creator/Labels: development, linux
|