ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-general
php-general
[PHP] Re: PHP implementation of something like Apache's mod_speling?
by Julio Nobrega other posts by this author
Aug 1 2002 2:27AM messages near this date
[PHP] PHP implementation of something like Apache's mod_speling? | [PHP] Re: n
How about a file wilh all the directories and you compare its contents
using similar_text() or soundex/metaphone() with the url/directory that
failed?

  Shouldn't be too hard to implement.

--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br


"Tim Luoma" <luomat@[...].org>  escreveu na mensagem
news:3D489898.1010204@[...]..
> 
>  As I assume most of you know, mod_speling (sic) is a feature of the
>  Apache httpd that will suggest possible corrections to URLs.
> 
>  i.e. if you look for /sidebar/ on my site you'll get a 404 because the
>  actual URL is /sidebars/
> 
>  The problem is that some sites don't enable mod_speling and some don't
>  use Apache ;-)
> 
>  Before I reinvent the wheel, I thought I'd ask if anyone had written
>  some PHP to cover this... I didn't find anything useful in Google or
>  HotScripts
> 
>  TjL
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Tim Luoma
Julio Nobrega

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved