note 108998 added to install.windows.apache2
| From: | auser at example dot com | Date: | Mon, 11 Jun 2012 17:42:36 +0000 |
| Subject: | note 108998 added to install.windows.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188528@lists.php.net to get a copy of this message | ||
To be clear:
AddHandler application/x-httpd-php .php
means any file with ".php" in it becomes a php file. Test it out, name a file
"test.php.dontrunme", and it will be processed as a php file.
If you want ".php" to be used only when it is the last part of the filename, use:
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
But *also* remove: AddHandler application/x-httpd-php .php
or comment it out:
#AddHandler application/x-httpd-php .php
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
----
Server IP: 69.147.83.197
Probable Submitter: 99.120.229.113
----
Manual Page -- http://www.php.net/manual/en/install.windows.apache2.php
Edit -- https://master.php.net/note/edit/108998
Del: integrated -- https://master.php.net/note/delete/108998/integrated
Del: useless -- https://master.php.net/note/delete/108998/useless
Del: bad code -- https://master.php.net/note/delete/108998/bad+code
Del: spam -- https://master.php.net/note/delete/108998/spam
Del: non-english -- https://master.php.net/note/delete/108998/non-english
Del: in docs -- https://master.php.net/note/delete/108998/in+docs
Del: other reasons-- https://master.php.net/note/delete/108998
Reject -- https://master.php.net/note/reject/108998
Search -- https://master.php.net/manage/user-notes.php