Results 1 to 4 of 4

Thread: safe mode per domain

  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    67

    Default safe mode per domain

    hi

    how do u turn safe mode off for one domain only ? (it is on in the global php.ini)


    NetGeek

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    115

    Default

    [quote:d8e9a94f81][i:d8e9a94f81]Originally posted by NetGeek[/i:d8e9a94f81]



    hi

    how do u turn safe mode off for one domain only ? (it is on in the global php.ini)


    NetGeek

    [/quote:d8e9a94f81]

    you can do that using .htaccess file

    put up one .htaccess file in the document root of that particular domain which has following lines

    php_flag safe_mode off

    thats it
    cheers
    Parag

  3. #3
    Member
    Join Date
    Dec 2001
    Posts
    42

    Default

    Or add it to the Virtual entry for the domain in httpd.conf

    Myros
    http://www.neuralhq.com

  4. #4
    Member cass's Avatar
    Join Date
    Jul 2002
    Location
    Argentina/USA/Mexico
    Posts
    355

    Default

    can someone explain a little more how can I customize php setting for a specific virtual host ?
    like ... the mail() thing ...
    for most users ... is better the &Nobody (nobody@your.domain.com) in behalf of USER& ... or whatever ... this can prevent spam using php or something ... dont it?
    But I need some users to send emails using php ... but with real info ....
    I have the problem to not know how can I configure php so that i.e. &user1& can send emails as &user1@userdomain.com& instead of &nobody@hostdomain.com& ...

    anyone ?
    Carlos Ariel Sepúlveda
    CAS company :: 1997-2011, 14 Years! :: Dedicated Attitude
    http://www.cascompany.com :: Providing CPANEL/WHM Servers since 2002 !

Similar Threads

  1. safe mode (on or off )
    By Rashad in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 03-05-2008, 12:30 AM
  2. Safe Mode
    By _sombra_ in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-04-2004, 08:43 PM
  3. Safe Mode - A B.U.G ???
    By donnie in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 09-11-2003, 11:38 AM
  4. Safe Mode!! Help??!?
    By SimGuy in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 02-04-2003, 07:47 PM
  5. How to turn safe mode off for one domain only?
    By fog in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 01-17-2003, 11:44 AM