hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : how to prevent users change php_value by .htaccess
Reply

Forum Jump

how to prevent users change php_value by .htaccess

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-20-2007, 08:59 AM
linktome linktome is offline
Web Hosting Guru
 
Join Date: May 2006
Posts: 307

how to prevent users change php_value by .htaccess


I dont want my customers to change php_value by using .htaccess, but still want to enable mod_rewrite for them. How to config?

Thank you!

__________________
Traditional music traveling



Sponsored Links
  #2  
Old 09-20-2007, 10:19 AM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,708
Add the following to the virtualhost entry of the domain in httpd.conf file

php_flag engine off

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android

  #3  
Old 09-21-2007, 01:46 PM
mistwang mistwang is offline
Web Hosting Guru
 
Join Date: Nov 2003
Posts: 304
Quote:
Originally Posted by david510 View Post
php_flag engine off
I think that will turn off PHP scripting completely.

__________________
LiteSpeed Web Server by http://www.litespeedtech.com
Best PHP and Ruby On Rails hosting platform,
Completely Apache interchangeable
Compatible with all hosting control panels.

Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?