Search results

  1. D

    IP to GeoLocation

    Since LS uses the DB why not have a function to call it from php so that I can get the country using users IP's echo LS_ip_to_get('11.22.33.44'); Since the lite version of geo isn't 100% it would be nice to be able to check if some users have an IP that resolves to a faulty country to...
  2. D

    phpMyAdmin and latest APC

    I just updated my APC to 3.0.17 and now when I enter phpMyAdmin and browse around I get ==> /app/lsws/logs/stderr.log <== zend_mm_heap corrupted Not sure why only phpmyadmin has problems, luckily everything on my page seems to run fine. Hopefully it will stay that way. But the phpmyadmin...
  3. D

    latest cacti

    I just installed the latest cacti and followed your wiki page. Everything is fine until the data gathering where I get this: ERROR: the RRD does not contain an RRA matching the chosen CF I googled this: http://forums.cacti.net/post-121207.html but since I'm not so into cacti I was hoping to...
  4. D

    memcached timeout

    hey, I'm getting flooded with "Can't connect to localhost:11211, Connection timed out." I've talked to some memcached 'people' and they ask about maxclients limit and so on, and since apache!=litespeed I'm wondering if it's the PHP_LSAPI_MAX_REQUESTS=600 PHP_LSAPI_CHILDREN=150 they...
  5. D

    64bit

    I was wondering if there are any benchmarks made with the 64bit version? Thinking about trying out ubuntu 64bit on our www server, any experience with LS 64bit + php5, is it really worth it?
  6. D

    delivery notification

    hey I'm getting loads of these now with the new 3.3 release 2007-11-20 20:08:22.012 [NOTICE] No request delivery notification has been received from LSAPI process:-2, possible run away process. 2007-11-20 20:08:22.012 [NOTICE] No request delivery notification has been received from LSAPI...
  7. D

    Request Filtering logs

    Hi, I spoke to mistwang about a better and more detailed log system for this, I just wanted to see if it's on the todo list yet and how what it's time frame is. this is what I'm speaking of to be more clear: logs/error.log <== 2007-11-16 16:11:15.828 [NOTICE] [xx.146.185.194:2981-0#site]...
  8. D

    503 errors

    Hi, I've lately been flooded with 503 - graceful restarts. which hasn't been there before. We haven't upgraded that much so I cannot pinpoint the errors, is there a way for LS to log these errors somehow? 2007-09-27 21:34:17.962 [NOTICE] The maximum number of file descriptor limit is set...
  9. D

    Request Filter

    Is it possible to have a filter that looks at the url? For example I want to deny everyone that tries to visit mydomain.com/*/include.php/* so I created a rule with action: log,deny,status:403,msg:'include.php attempt' Rules Definition: SecFilter "include.php" but it doesn't...
  10. D

    optimization help

    Now that we have finally bought LS "yay" I need some help regarding the configuration and if it can be pushed to serve everything just a little faster. As we had apache before it did feel like it went alittle 'faster' but it also gave us alot of sql errors -> unable to connect and so it wasn't...
  11. D

    concurrent connections

    is there special reason why I'm getting flooded with --- edit: ok it was cause of the limit in the free edition... ----edit while I'm here, could you help me set a proper configuration up to use all my resources of the server properly without having to edit every single setting the next few...
  12. D

    FilesMatch

    Hi, is it possible to something similar to this functionality in LS? SetEnvIfNoCase Referer "^http://(www\.)?mysite\.net" local_ref=1 SetEnvIfNoCase Request_URI "white_logo.gif" local_ref=1 SetEnvIfNoCase referer "^$" local_ref=1 <FilesMatch "\.(jpe?g|gif|png|css)"> Order...
  13. D

    compile error

    Hey guys, I got this compile error on my local ubuntu feisty machine. -lz -lxml2 -lssl -lcrypto -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lcrypt -o sapi/litespeed/php ext/standard/info.o: In function `php_print_gpcse_array': /app/sources/php-5.2.3/ext/standard/info.c:133: undefined reference to...
  14. D

    2.2.3 crash

    1) Redhat ent3 2) 2.2.3 standard 3) 5.1.5 4) nothing that I can notice 5) accurs randomly 6) none found I upgraded from 2.2.2->2.2.3 and am getting random crashes without any errors what so ever nor warnings that could help me find the problem. LSWS dosn't restart itself, it just gets...
  15. D

    proxy

    This might not be a httpd relative question but it's worth a try.. I was wondering if it's possible to block anonymous/open proxies in some way? Whether its through httpd, firewall, php or anything else?
  16. D

    rewrite

    Hi all, I was hoping I could get some help with a rewrite. I created a dns A record like xxx.domain.com now when a user types http://xxx.domain.com/username the rewrite should then goto something like domain.com/getfile.php?id=username and show the results without chaning the...
  17. D

    upgrade to latest ls

    ltns =) I just updated to the latest version as usual, ran phpinfo(); and got php version 4.4.1? I don't know how I could have done a 'bad' update so I'm just checking if it's only me that got this result...
  18. D

    stderr.log

    I checked the logs dir and found some weird stderr entries: collect2: ld returned 1 exit status /usr/bin/ld: cannot open output file /usr/bin/.libs/14786-lt-composite: Permission denied collect2: ld returned 1 exit status /usr/bin/ld: cannot open output file...
  19. D

    login problem

    Can't seem to login to the admin section anymore... At first the problem was only when I used Firefox but now on the latest version (2.1.9) somehow IE fails to login to. When I try to login I get sent to "admin/login.php" even if the password is correct. And yes I'm sure that the user/pass...
  20. D

    2.1.7

    thanks for the new login system, will save me some seconds every day :) Update worked flawless, boy am I glad when that goes as it should... When I restart LS I get: 2005-12-09 22:45:40.536 [NOTICE] [Child: 30137] Core dump is enabled. 2005-12-09 22:45:40.537 [NOTICE] [Child: 30137]...
Top