CodeIgniter Forums
CI as CGI and su-php? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: CI as CGI and su-php? (/showthread.php?tid=3215)



CI as CGI and su-php? - El Forum - 09-17-2007

[eluser]mdg5w[/eluser]
The site I maintain is being hosted by our University and due to hackers we recently implemented su-php. Since that time we have not been able to fix our intranet so that users can upload photos (and other documents). I have talked with some IT people about the problem and it turns out that with su-php, PHP is interpreted as CGI.

Not only can people not upload documents. Users cannot even get to our login page (which is implemented using freak_auth_light) when I set the "AddHandler su-php-script .php" in the .htaccess file.

Any help is much appreciated.

Thanks


CI as CGI and su-php? - El Forum - 09-18-2007

[eluser]thurting[/eluser]
Make sure you chmod to 755. suexec will not serve 777.

btw, this is probably the wrong forum for this question.