News Feed
Jobs Feed
Sections




News Archive
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

DevShed: Building a PHP5 Form Processor - Coding the Form Validator Module

NetTuts.com: Basecamp Style Subdomains With CodeIgniter

Bard Farstad's Blog: Optimizing Apache, PHP and APC for Intel based Mac

Pierre-Alain Joye's Blog: Little reminder about PHP references and some thoughts about FUDs

PHPWACT.org: Handling UTF-8 with PHP


Community Events









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


event podcast composer zendframework2 unittest code community example interview framework opinion testing api development functional object tool language introduction release

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