Search results

  1. P

    404 Error trying to use Roundcube webmail ???

    "This function is only supported when PHP is installed as an Apache module." I suppose that can be read either way... I read it as "it's the sapi's responsibility to disable that function unless it's apache". But I suppose reading it the other way "only call this if you've first checked to...
  2. P

    404 Error trying to use Roundcube webmail ???

    Figured it out! -- READ THIS LITESPEED STAFF (bug in the phplsapi module) Hey all - I figured it out. In another section of the code it is calling the php function "getallheaders". Docs: http://us3.php.net/getallheaders They say " This function is an alias for apache_request_headers()...
  3. P

    404 Error trying to use Roundcube webmail ???

    Hrm... I think I see why, but how to fix? So, in digging through the roundcube source I see this: // check client X-header to verify request origin if ($OUTPUT->ajax_call) { if (empty($CONFIG['devel_mode']) && !rc_request_header('X-RoundCube-Referer')) { header('HTTP/1.1 404 Not...
  4. P

    404 Error trying to use Roundcube webmail ???

    Hi - I've installed roundcube webmail and am getting a weird error... when it makes AJAX calls it makes them to a URL like this: GET https://.....com/roundcubemail/?_task=mail..... and I'm getting a 404. Which is odd because if I drop the "?_..." then the page loads (the homepage of...
  5. P

    Howto require SSL for a specific directory?

    Hi - I'm trying to figure out how to require SSL for a particular section of my website, but am having no luck. I'd like all requests that match www.domain.com/somewhere to be redirected to the SSL version if it isn't SSL. I've got both the HTTP and HTTPS versions of the site working...
  6. P

    SecFilterSelective HTTP_X_MOZ "prefetch" <-- broken!

    can you tell me why it's returning a 404 instead of a 403? If I get it working by scanning all the headers will it work correctly? it didn't when i tested against the user agent.
  7. P

    SecFilterSelective HTTP_X_MOZ "prefetch" <-- broken!

    Ok. Thanks. It would be great if the security engine recognized every header, but maybe there are reasons it can't do that.
  8. P

    SecFilterSelective HTTP_X_MOZ "prefetch" <-- broken!

    Hi - I am trying to block google's web accelerator. I have the following request filter setup: Action: log,deny,status:403,msg:'GWA Prefetch' Rule: SecFilterSelective HTTP_X_MOZ "prefetch" I then test it using curl: curl --header "X-Moz: prefetch" -v -I http://example.com It...
  9. P

    Rails MySQL disconnects

    We've set the active_timeout thing already, but for kicks I double checked the native mysql gem... and it *is* installed, but according to this: http://blog.duncandavidson.com/2005/07/rails_and_mysql.html it wasn't getting picked up. Odd. Copying the mysql.so into the site_ruby directory...
  10. P

    Rails MySQL disconnects

    Just to follow up, Tim meant to say "ruby-lsapi" process everywhere he says "fcgi" process.
  11. P

    How to redirect http://123.123.123.123 to http://www.domain.com using 301 redirect?

    Ah. duh. Almost there... I have this: RewriteCond %{HTTP_HOST} !^(www|host)\.domain\.com [NC] RewriteRule ^/(.*) http://www.domain.com/$1 [L,R=301] What I would like is to abstract "host" out of it by using %{ENV:HOSTNAME}, but it doesn't seem to take. I've tried tacking on a...
  12. P

    How to redirect http://123.123.123.123 to http://www.domain.com using 301 redirect?

    Hi - I have a need to redirect requests made directly to the IP address of our server back to the official domain name of the server using a 301 redirect, but I'm not sure how to proceed. I've redirected other "vanity" domains easily, but this seems different. The problem is that...
  13. P

    LS3.0 scratches hard disk every second?

    Ram disk seems to be working! Here's a patch to lswsctrl (no checks for ensuring we're on osx though)... 42a43,49 > > ram_disk=`/usr/bin/hdid -nomount ram://2048` > /sbin/newfs_hfs $ram_disk > /bin/rm -rf /tmp/lshttpd > /bin/mkdir /tmp/lshttpd > /sbin/mount -t hfs...
  14. P

    LS3.0 scratches hard disk every second?

    I bet that is it. Anyway to tell it not to do that or is that a necessary requirement?
  15. P

    LS3.0 scratches hard disk every second?

    Hi - I've installed LS 3.0 on my Mac for development and notice that it accesses the hard disk every second. Even if I'm not browsing any web pages it does this. And it never seems to stop. I've fiddled around with various log file settings, but nothing seems to help. Wondering if you...
  16. P

    BUG: The document has been permanently moved to <A HREF="%s">here</A>

    Hi - We have several redirects and while they work, during some debugging today I think I see a problem. Here's the snippet from the XML configuration: <context> <type>redirect</type> <uri>/forums</uri> <externalRedirect>1</externalRedirect>...
  17. P

    Virtual Hosts (by way of templates) always say 'Restart Required', but work fine.

    Hrm, no luck. I downloaded, upgraded, restarted (made sure it had stopped) and they still report the same thing 'Restart Required'. Perhaps there is a status file that I should clear out?
  18. P

    Virtual Hosts (by way of templates) always say 'Restart Required', but work fine.

    Hi - Using 3.0RC2 (both FreeBSD6 and OSX) I have several virtual hosts that were created by adding them to a virtual host template. While they work fine their status is always 'Restart Required' yet a restart doesn't do anything to change it. In neither server have I imported *anything*...
  19. P

    Context Redirect that will remove the query string?

    Hi - I've got a redirect and it works great except I don't want it to pass along the query string to the new location and I can't figure out how to stop it from doing it. I would like to keep it as an external redirect so search engines will update instead of continuing to hit these urls...
  20. P

    Upgrading from 3.0RC1 to 3.0RC2 does not remove admin/html.3.0RC1 (nit picking :)

    Hi - Just an FYI that when upgrading to 3.0RC2 from 3.0RC1 the admin/html.3.0RC1 directory is not removed. Doesn't much matter to me, not sure it's supposed to be removed in order for the rollback stuff to work or not, but figured I'd mention it.
Top