You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Ruben Safir <ru...@mrbrklyn.com> on 2001/12/23 17:23:14 UTC
Puzzle about directories
I have a file under an embperl directory called news.html
http://www2.mrbrklyn.com/nylinux/news.html
There is no news directory, nut this shows the same page
http://www2.mrbrklyn.com/nylinux/news/
As does
http://www2.mrbrklyn.com/nylinux/news/ta
Is this an embperl thing?
Ruben
--
__________________________
Brooklyn Linux Solutions
__________________________
http://www.mrbrklyn.com - Consulting
http://www.brooklynonline.com - For the love of Brooklyn
http://www.nylxs.com - Leadership Development in Free Software
http://www.nyfairuse.org - The foundation of Democracy
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/mp3/hooked.mp3 - Spring is coming....
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
1-718-382-5752
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Puzzle about directories
Posted by Gerald Richter <ri...@ecos.de>.
>
> I have a file under an embperl directory called news.html
>
> http://www2.mrbrklyn.com/nylinux/news.html
>
> There is no news directory, nut this shows the same page
> http://www2.mrbrklyn.com/nylinux/news/
> As does
> http://www2.mrbrklyn.com/nylinux/news/ta
>
> Is this an embperl thing?
>
No, that's done by Apache and it's a standart CGI behaviour. If there is no
news directory, you get the content as when you request
http://www2.mrbrklyn.com/nylinux/
and
news or news/ta or whatever follows will be in $ENV{PATH_INFO} or
$req_rec -> path_info
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org