Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on help me about RemoveHandler and Directive in the VPS & Dedicated forum
hi all I tried to disable php_flag engine for some folders but got no success . Could some guys please help . in the httpd.conf ...

  1. #1
    JPC Member
    Join Date
    Apr 2008
    Posts
    26

    help me about RemoveHandler and Directive

    hi all

    I tried to disable php_flag engine for some folders but got no success . Could some guys please help .

    in the httpd.conf I put:
    <Location /var/www/vhosts/mydomain.com/httpdocs/images/>
    RemoveHandler .php
    php_flag engine off
    </Location>

    saved and restart httpd .
    but when I run a php file http://mydomain.com/images/info.php , it still runs .
    Did I do something wrong ?

    Please help
    note: if I want disable php_flag engine for some other folders and its subfolder so what should I put to httpd.conf ??

    thanks for your help
    I am a newbie with Linux

  2. #2
    /dev/null JPC-Zishan's Avatar
    Join Date
    Apr 2008
    Posts
    268
    This might help you:

    http://kb.parallels.com/en/432

    You will need to create vhost.conf to override httpd.conf settings.

  3. #3
    JPC Member
    Join Date
    Apr 2008
    Posts
    26
    thanks for fast reply

    I will do now

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •