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

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
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

Reply With Quote


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,617
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
iWebManager | Access WHM from iPhone and Android

Reply With Quote
  #3  
Old 09-21-2007, 01:46 PM
mistwang mistwang is offline
Web Hosting Guru
 
Join Date: Nov 2003
Posts: 294
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.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Navigating Your Business Through Change with Elliot Noss - HostingCon 2012 Web Hosting News 2012-07-17 09:51:18
Facebook Says Minor Outage Not Caused by Anonymous Hackers Web Hosting News 2012-06-01 15:25:42
Data Center Outage Hits 400,000 Clients of Email Marketing Tool MailChimp Web Hosting News 2012-01-04 22:04:19
Go Daddy Helping Customers Repair Compromised Sites Web Hosting News 2011-09-16 14:35:03
1.3 Million User IDs and Passwords Stolen in Washington Post Jobs Site Hack Web Hosting News 2011-07-07 14:41:28


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?