Search results

  1. ffeingol

    How to whitelist ip's from the DoS protection?

    Hello Guys, We have some (id10t) clients who reference images on their site like img src="http/blah.com/images/blah.gif" instead of img src="/images/blah.gif". Now I know it's 100% and causes a lot of TCP overhead but I also have to make it work. Is there a way that I can whitelist the...
  2. ffeingol

    How do you process .phps?

    No huge deal. I added it along with .shmtl to the list of things to proxy back to Apache. Frank
  3. ffeingol

    How do you process .phps?

    Hello, How do we configure things so .phps shows the php source? AddType application/x-httpd-php-source .phps does not work and setting .phps as one of the extensions for PHP runs it, not display the source. Frank
  4. ffeingol

    Invalid rewrites

    Thank you much, that was it. Frank
  5. ffeingol

    Invalid rewrites

    Hello All, We had a client who was trying to use some rewrites like this: rewriteEngine On rewriteCond %{SERVER_PORT}!443 rewriteRule ^(.*)$ https://xxx.xxx.com/whmcs/$1 [R,L] LSWS is not liking the SERVER_PORT. How would you rewrite (this rewrite LOL) to force https under LSWS? Frank
  6. ffeingol

    wierd issue

    What version are you running? We had problems on one server (latest version) with sites that load php includes like include('http://www.blah.com/somefile.php") and that "really" just should have been include("/somefile.php"). Frank
  7. ffeingol

    Possilbe bug with the autoindex program

    Hello, I'm still digging into if this is really a bug, but I want to bring it up. We have a client who wants a directory index but it's one level deep in the site (i.e. www.blah.com/something/). The directory index comes up fine but the links are www.blah.com/somethingsomefile.html instead...
  8. ffeingol

    max response size

    Hello Guys, We have a web site that has a bunch of mp3's that can either be downloaded or streamed via a player. They are getting chopped off with a message of "The size of the dynamic response body is over the limit. aborted". By doing a little digging we can see that this is set to 10mb...
  9. ffeingol

    can i see todays maximum number of simultaneous connections?

    Sorry, I have to respectfully disagree with this. While cacti "should" get the high water mark, since it's taking a snapshot every 5 minutes it's really easy to miss a big spike that is relatively short. Frank
  10. ffeingol

    Can't connect to LiteSpeed Admin GUI

    Yup. APF is a firewall rule builder and it would have caused rules to be built that would block 7080. Frank
  11. ffeingol

    Can't connect to LiteSpeed Admin GUI

    I'd check your firewall first and make sure that port 7080 is open. Frank
  12. ffeingol

    No loaded php.ini

    This one took us a bit to figure out :D In th admin interface, go to "External Apps" and then edit the one for your PHP. Look a the "command" line. On the command I believe there is a -c (it's been removed from ours so I can't tell you the exact parm). That is overriding the compiled part...
  13. ffeingol

    SNMP / Cacti Setup Question :)

    Well, basically the implementation :) Because it's a snapshot every 5 minutes instead of a counter you get very weird looking graphs. You could have a huge spike that lasts for 4m 59s and totally miss it. Frank
  14. ffeingol

    SNMP / Cacti Setup Question :)

    Did you try ps -ef | egrep snmp and make sure that it's actually starting with the same parameters, user etc. both ways? I'd also be interested in how it's working for you. We get very inconsistent results via Cacti. Frank
  15. ffeingol

    Custom PHP Compile issues.

    Did you happen to change PHP versions? If you did you may need to recompile eAccelerator to go with the new version. Most of the time when we get blank PHP pages it means that one of the extensions (Zend, eAccelerator, Ioncube) is not in sync with the PHP version. You can quickly verify but...
  16. ffeingol

    So.. WHich is faster? suphp or nobody?

    While security is a big reason why people use suexec/suphp there is also a control factor. When it's running a nobody you simply know that PHP is hogging a lot of resources. If your running su then you not only know it's PHP but you also know what user. That can go a long way to tracking down...
  17. ffeingol

    General performance tuning

    Unless you play with the kernel settings (from what I understand) 32 meg is the largest shared memory segment that you can grab. I also believe that the TTL is only used to determine when something can get bumped out of memory (i.e. you want to cache something new and then things over an hour...
  18. ffeingol

    General performance tuning

    This is how we have eAccelerator setup: zend_extension="/xxx/php4/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so" eaccelerator.shm_size="32" eaccelerator.cache_dir="/xxx/eaccelerator" eaccelerator.enable="1" eaccelerator.optimizer="0" eaccelerator.check_mtime="1"...
  19. ffeingol

    "slim" Apache?

    Hello Guys, OK, so we have things running fairly smoothly on LSWS new but we still have to keep Apache around to handle the SSI. I'm assuming that we can comment out things like mod_php etc. to take most of the "bloat" out of Apache and speed it up / slim down it's memory footprint? Any...
  20. ffeingol

    Hosting with Standard Edition.

    This should answer most of your questions: http://www.litespeedtech.com/products/webserver/editions/ Can you do it, yes, but only for 5 domains. Your going to loose the mod_security functionality/shared hosting ruby functionality. Frank
Top