Search results

  1. G

    500 Server Error on 3.0 - works fine on 2.2.6

    This PHP script returns compressed content, and a header which says it will return compressed content (using deflate, not gzip) is also sent back. I can confirm that using LS 2.2.6: powermac:~ gb$ curl -i...
  2. G

    500 Server Error on 3.0 - works fine on 2.2.6

    On 2.2.6, I get 200 OK: ["my.domain.com"] my.client.ip - - [23/Mar/2007:17:55:47 -0700] "GET /dataservice.asmx/RequestProgramData?UUID=EGU7TZLA1JA94H679Z9WVV5ETEEG17&ProviderId=A_00001&DaysRequested=8 HTTP/1.1" 200 438834 "-" "curl/7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7l...
  3. G

    .htaccess: Allow from domain.com not working

    I would if I could. Google's bots are using a multitude of IP addresses, not just a single one, thus why they use a common domain name so that web server can recognize them. For now, I'll just create a proxy to Apache2 with that directory and use Apache to serve those files.
  4. G

    .htaccess: Allow from domain.com not working

    LiteSpeed/2.2.6 Standard I'm trying to limit access to a directory based on a domain name instead of using IP addresses. I'm trying to access the page from 66.130.240.125 (125.240.130.66.in-addr.arpa name = modemcable125.240-130-66.mc.videotron.ca.) This doesn't work: Deny from all...
  5. G

    AuthUserFile with relative path

    Hi, I'm trying to specify the password file on a AuthUserFile line using relative path, but LiteSpeed doesn't seem to handle those. I'm currently using "AuthUserFile /etc/httpd/conf/.htpasswd" but would like to use "AuthUserFile .htpasswd". Apache's mod_auth says "File-path is the path to the...
  6. G

    Require user xyz

    Thank you again for the responsiveness.
  7. G

    Require user xyz

    In my .htaccess file, if I have Require user gb I can't successfully authenticate using Litespeed: Authentication failed with user: 'gb'. If I just change this line to: Require valid-user then I can login using the user 'gb' without changing anything else. Is "Require user xyz"...
  8. G

    Problem with RewriteCond order and %n in RewriteRule

    Thank you very much. Appreciate the fast response time.
  9. G

    emalloc / erealloc again with APC

    It works from the command line with APC enabled: [root@megaone fcgi-bin]# ./lsphp5 -i | grep apc apc apc.cache_by_default => On => On apc.enable_cli => Off => Off apc.enabled => On => On apc.file_update_protection => 2 => 2 apc.filters => no value => no value apc.gc_ttl => 3600 => 3600...
  10. G

    emalloc / erealloc again with APC

    I'm using the PHP_SuEXEC template that came with 2.2.2 for this virtual host. [root@megaone ~]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited max nice (-e) 0 file size (blocks, -f) unlimited pending signals...
  11. G

    emalloc / erealloc again with APC

    php.ini: memory_limit = 600M Server > Security > CGI Resource: memory limits = 600M / 700M VHost > External Apps > LSAPI App: memory limits = 600M / 700M Restarted lsws to make sure the new limits were used. Also tried 0 / 0 as memory limits. All with same result: FATAL: emalloc(): Unable...
  12. G

    emalloc / erealloc again with APC

    Using LiteSpeed 2.2.2 standard, APC 3.0.12p2 and PHP 5.1.6 LSAPI. I am also getting FATAL: emalloc(): Unable to allocate x bytes in my stderr.log when I have APC enabled. This happens when I use a self-created PHP script which loads a 8MB serialized (on disk) object and plays with it...
  13. G

    Problem with RewriteCond order and %n in RewriteRule

    Hi, Using 2.2.2 (free), with an .htaccess like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php RewriteCond...
  14. G

    Problem running Gallery under LiteSpeed

    If you use the URL rewrite module for Gallery 2, here's what you'll need to do to be able to use Litespeed httpd. Edit /.htaccess Invert those those lines: RewriteCond %{THE_REQUEST} \ /d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\ .) RewriteCond %{REQUEST_FILENAME} !/main\.php$ to get...
Top