.htaccess on suPHP servers

What should my .htaccess file look like if my account is on a suPHP server?
You should remove the lines that begin with “php_value” and “php_flag”. You will need to move these files to a file named php.ini and upload php.ini into your public_html directory. Then, add the following line into the .htaccess file in your public_html:

suPHP_ConfigPath /home/username/public_html

where “username” is your cPanel username. You will need to remove php_value and php_flag from ALL .htaccess files you may have. However, you only need to add the suPHP_ConfigPath line in the .htaccess file in your public_html directory only.

Please note that you will need to change the format of your php_value and php_flag lines into the php.ini format. (Refer to the FAQ entry on how your php.ini file should be formatted).

Related posts:

    How to mass chmod file and folder ?
    Find r57 and c99 Shells Hidden Inside PHP and TXT Files
    Mencari file inject di webserver

9 Responses to .htaccess on suPHP servers

  1. mantaafff kang nanang….semangat terussss untu belajar

  2. riefki says:

    Bagus banged, pa nanang tolong dong saya ajarin buat buku tamu….

  3. juhana tea says:

    SAE PISAN KANG…

  4. riski says:

    hello test

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>