News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

The bla.st Blog:
Process your URLs in PHP with Apache mod_rewrite and wildcard DNS
January 02, 2007 @ 08:10:00

There's a quick post on the bla.st blog about a handy method to create "pretty URLs" for your website without changing your code (much). With this example, it's all about Apache and mod_rewrite.

For our bla.st project, we decided to put all URLs through a single PHP script, and process them there. The advantage is then we can do what ever we want with the URLs.

They provide the settings and directives that you'll need to drop into Apache and what they're doing so you can customize them to your site. There's even a brief PHP example at the end showing how to get the information from the URL and into a usable form.

0 comments voice your opinion now!
process url apache modrewrite module wildcard dns process url apache modrewrite module wildcard dns


blog comments powered by Disqus

Similar Posts

Paul Gregg's Blog: PHP algorithms: Determining if an IP is within a specific range.

CorePHP Blog: A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

PHPMac.com: Building and Installing Apache 2 and PHP 5.1.1 on Mac OS X 10.4.3 Tiger

Pavel Shevaev's Blog: Make php-fpm execute arbitrary PHP scripts via socket

phpaddiction: Url Routing with PHP - Part One


Community Events





Don't see your event here?
Let us know!


install deployment framework interview community tips podcast unittest opinion laravel update api release symfony introduction series zendserver library package language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework