Search results

  1. C

    mod_security

    Gotroot 2.5 modsecurity processing in Litespeed I signed up for a gotroot subscription and tried the rules as suggested for a cpanel installation, i.e. a relatively light rule set. While most rules parsed ok, performance on the server was significantly degraded, a normal dynamic page that...
  2. C

    [RESOLVED] PHP5 - Linklok IPN 503 error

    OK, nothing to do with litespeed but the upgrade to php 5.3, phpthumb is not compatible due to deprecated functions. I will continue to monitor digital downloads, but it looks stable so far.
  3. C

    [RESOLVED] PHP5 - Linklok IPN 503 error

    Just tried that, it seems to introduce a new bug breaking the phpThumb script which is a popular GD thumbnail generator. I've had to revert to Apache in the mean time. http://phpthumb.sourceforge.net/
  4. C

    [RESOLVED] PHP5 - Linklok IPN 503 error

    PHP stream files method I just realized that this method needs to work properly or anyone using standard PHP scripts to deliver digital goods is going to have to rewrite a substantial amount of code in most shopping carts, and break forward compatibility. Zencart, OSCommerce, Magento etc all...
  5. C

    4.013 PHP5 HTTP_POST method no longer works

    I just updated to 4.013 and PHP5 HTTP_POST does not work. Verified working fine in 4.012 and Apache. Here's the code: <form method=post action="pictureform.php"> <input type="FILE" name="userpic" size="30"> <input type=submit> </form> $source = $HTTP_POST_FILES['userpic']['tmp_name']...
  6. C

    [RESOLVED] PHP5 - Linklok IPN 503 error

    I got it to work, but can't seem to get the redirect working properly. Anything that correctly creates a 403 also causes the redirect to 403. eg. my url is http://abc.com/1234/file.zip According to the wiki I am supposed to be matching for 1234/ to 403, and because litespeed is handling the...
  7. C

    [RESOLVED] PHP5 - Linklok IPN 503 error

    Thanks, didn't know litespeed had this feature. I'll mod the script and see if litespeed prefers that. EDIT: Ok tried it out, since I'm using PHP I have to use $header="X-LiteSpeed-Location: /".$link; header($header); However, this does not work, it doesn't even return an error...
  8. C

    [RESOLVED] PHP5 - Linklok IPN 503 error

    This is a persistent problem I'm getting with Linklok IPN. Linklok is a small PHP script that serves files outside the webroot to users who authenticate via a embedded token in the URL. I've reproduced the relevant portion of the code here: function xfpassthru($file) { global...
  9. C

    3.2 httpd.conf with dedicated IPs generated by Cpanel not working

    My httpd conf looks like this for a vhost on a dedicated IP. This is generated with WHM 10.8.0 cPanel 10.9.1-S14304 running on CentOS 4.5. Cpanel appears to create a VirtualHost entry even for sites on dedicated IPs. NameVirtualHost 74.53.241.186:80 <VirtualHost 74.53.241.186> ServerAlias...
  10. C

    Dedicated IP VirtualHosts from httpd.conf

    Getting a 404 on the supplied link :p
  11. C

    Very odd PHP error, any file name that starts with admin (admin.php/admintest.php)

    The cookie path is set to /. The exact same settings (same php.ini being used) works ok for Apache and PHP4. Changing the file name from admin.php to newadmin.php and the script starts working in a directory where there are no .htaccess rewrite rules.
  12. C

    Very odd PHP error, any file name that starts with admin (admin.php/admintest.php)

    I'm testing LSWS now with LSAPI built using PHP 4.4.4. Under Apache everything is fine and under most conditions Litespeed is ok also. However, one very odd problem that cropped up is session variables don't seem to work SPECIFICALLY for admin.php. I can have the exact same code in a file...
  13. C

    Dedicated IP VirtualHosts from httpd.conf

    Same problem as dreamscape. Virtualhosts with dedicated ips and SSL certs are not being set up correctly when loading Apache config as created by Cpanel. FYI, Cpanel restricts the cert and private (key) directory to root group only.
Top