Go Back   Dedicated Server Hosting | VPS Hosting | Virtual Private Servers Forum > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-09-08, 19:15
BOD Member
 
Join Date: Oct 2008
Posts: 23
Default Disable php for particular user?

To disable PHP for a particular user on a Linux server , Put the following code in a .htaaccess file for that user as :

Quote:
php_flag engine off
Also you can add following code for that in tag of that particular domain in server’s httpd.conf file because user can remove it from .htaccess but its not possible to remove it from httpd.conf without root user.
.
Quote:
php_admin_flag engine off
__________________
Regards
George
Reply With Quote
  #2 (permalink)  
Old 10-10-08, 14:11
BOD Member
 
Join Date: Oct 2005
Posts: 117
Default

Can you please let me know the way to disable php in a given folder without having admin access to the server?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 16:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2008, BODHost.com. All rights reserved.