Search results

  1. G

    503 Service Unavailable using RewriteRule to

    some.host.com is a Virtual Host. It has a Web Server External App configured: - Name: another.host.net - Address: another.host.net:80 - Max Connections: 50 - Initial Request Timeout (secs): 2 - Retry Timeout (secs): 0 - Response Buffering: No And it has Rewrite enabled with the following rule...
  2. G

    [Resolved] 4.2.4 won't ForceType per .htaccess

    My .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^MJ12bot/v1\.0\.8.*$ RewriteRule .* - [F] </IfModule> <FilesMatch "^(/||[en/]*index\.html|[en/]*Evenements.*\.html)$"> ForceType application/x-httpd-php </FilesMatch> With lsws 4.2.3, the...
  3. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    # uname -a Linux iwebtwo.danslereseau.com 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 13:35:30 EST 2010 x86_64 x86_64 x86_64 GNU/Linux PHP (5.3.3) compiled using LSWS. # php -i | head phpinfo() PHP Version => 5.3.3 System => Linux iwebtwo.danslereseau.com 2.6.18-194.26.1.el5xen #1 SMP...
  4. G

    Custom log format for use with CloudFlare

    Hi, I enabled CloudFlare on a couple of my websites a couple of days ago, and now faced the problem where the real IP addresses of my visitor is not in my logs anymore. CloudFlare sends the real IP of clients using a custom HTTP header, but since I'm not using the Enterprise version of LS...
  5. G

    All PHP calls stopped working

    All my PHP scripts stopped working today on LS 3.2.3 STD. I re-compiled my PHP (5.2.3 LSAPI) earlier today, but I've tried to go back to what it was before, and it doesn't help. root@megaone fcgi-bin]# ./lsphp -i | grep configure Configure Command => './configure' '--prefix=/php5'...
  6. G

    Failed auto-update

    Seems an error occurred during the last auto-update download of 3.0.3: [root@machine autoupdate]# cat lsws-3.0.3-std-i386-linux.tar.gz <html><head><title>408 Request Timeout</title></head><body> <h2>Request Timeout</h2> <p>This request takes too long to process, it is timed out by the server...
  7. 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...
  8. 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...
  9. 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...
  10. 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"...
  11. 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...
Top