|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I currently have an .htaccess file with just one line.
php_flag magic_quotes_gpc off. 1. Is it possible to stick this in the httpd.conf ? If so, where? 2. Is it possible to put this within specific virtual hosts in the httpd.conf ? If so, where? Cheers Phil |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On May 5, 3:54 am, "Phil Latio" <phil.la...@f-in-stupid.co.uk> wrote:
> I currently have an .htaccess file with just one line. > > php_flag magic_quotes_gpc off. > > 1. Is it possible to stick this in the httpd.conf ? If so, where? > 2. Is it possible to put this within specific virtual hosts in the > httpd.conf ? If so, where? > > Cheers > > Phil because its a php value, it should more properly be placed inside the relevant php.ini file in the "Magic quotes" section magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off however if you wish to use the httpd.conf then put it somewhere which has to scope you desire, if you place it inside a vhost stanza it will operate on that vhost, if you place it in the main httpd.conf inside the <Directory /path/to/main/server/root> then it will be sitewide |
|
![]() |
| Outils de la discussion | |
|
|