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

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
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
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 |
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android

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

LiteSpeed Web Server by
Best PHP and Ruby On Rails hosting platform,
Completely Apache interchangeable
Compatible with all hosting control panels.

Sponsored Links

Related posts from
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
Log in with your username and password

Forgot Password?
Web Hosting News:



Welcome to

Create your username to jump into the discussion! 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?