Re: Directory Traversing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 04, 2005 at 08:04:46AM -0000, Mark Groen wrote:
> ----- Original Message ----- 
> From: "Juma Lungo" <>
> [...]
> > (2) how can i hide PHP extentions? instead of ...index.php i would
> like to have ...index.tzp
> 
> the second one, if you are on Apache, is handled with:
> 
> http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html

Heavy stuff.

Depending on what you exactly need, maybe a .htaccess entry is
sufficient:

<Files index.tzp>
  ForceType application/x-httpd-php
</Files>

or

<Files *.tzp>
  ForceType application/x-httpd-php
</Files>

I'm not sure about the exact syntax. See
http://httpd.apache.org/docs/mod/core.html#files

Cheers,
Martin


PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux