WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   Apache: jeder Aufruf das selbe Script (http://www.wcm.at/forum/showthread.php?t=119367)

dub 23.12.2003 11:33

Hallo!

Danke für die Tipps, ich glaub das ist eh die beste Möglichkeit. Wie mösste diese Direktive für ein Unterverzeichnis aussehen? Hab noch nie FILE verwendet.

#Hannes#

snowman 23.12.2003 12:52

ich habs für ein unterverzeichnis auch noch nie verwendet.
normal schauts so aus:

<Files FILE_TO_CALL>
ForceType application/x-httpd-php3
</Files>

1. möglichkeit: die htaccess im subdirectory abspeichern.
2. möglichkeit: den pfad dazu angeben.

probiers mal aus.

gruss,
snowman

dub 23.12.2003 17:51

Würde
Code:

<FILE /var/www/example/*>
  ForceType application/x-httpd-php4
</FILE>

bewirken, dass sämtliche aufgerufene Datein als PHP geparst werden? Das wär dann nicht ganz das, was ich brauchen würde.

#Hannes#


Alle Zeitangaben in WEZ +2. Es ist jetzt 15:28 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag