> > page for example (/article/2001/11/30/0001.html) then i should handle
this
>...
> Answering myself :) I have found a way to handle such situations.
> The FALLBACK_OBJECT is called when server encounters 404 error code file
not
> found.
> So if i set ErrorDocument 404 to /path/to/err-404.html Embperl will handle
> it and look also for an OBJECT_BASE file.
> In the base.epl handling 404 can be done in this way:
>
Another possibilty is to use PATH_INFO. Create a document called article.htm
and then request it with
/path/to/article.htm/2001/11/30/0001
article.htm looks like:
[- @article = split ('/', $req_rec -> path_info) -]
Year: [+ $article[0] +] Month: [+ $article[1] +] Day: [+ $article[2] +]
Article: [+ $article[3] +]
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]