You are here: Re: Restricting PHP Execution « PHP Programming Language « IT news, forums, messages
Re: Restricting PHP Execution

Posted by Sjoerd on 10/27/42 11:33

In a Location or VirtualHost directive, in httpd.conf:
RemoveType .php
This removes the binding between .php files and the PHP interpreter.
People probably see the source of the php file. You can display it as
HTML by using:
AddType text/html .php

See the Apache documentation for more info on how to use
AddType/RemoveType.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация