Current time: 11-16-2024, 08:59 AM Hello There, Guest! (LoginRegister)


Post Reply 
Per Directory PHP Value??
Author Message
aphorist Offline


Posts: 4
Joined: Jul 2008
Reputation: 0
Post: #1
Per Directory PHP Value??
Some time I used .htaccess to secure some directory like /image or other
and change global php value to suit some cms (wordpress, xoops, joomla, ...)
but i can't do that with .htaccess. Why?
07-19-2008 08:50 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: Per Directory PHP Value??
you can use .htaccess however not for manipulating php settings as php is executed over fastcgi per default.
This ensures that php is executed only with the rights of the current user ( domain ) .
.htaccess & php settings require mod_php however which does not provide these security restrictions.

So you'll have to change this on a per domain basis below /var/www/fcgi is a php.ini for every domain.
07-20-2008 12:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)