Search results

  1. G

    WordPress: Permalink Rewrite Problem

    Corrected version: RewriteRule ^/blog/wp-includes/(.*) /external/wordpress/wp-includes/$1 [NC,L] RewriteRule ^/blog/wp-content/(.*) /external/wordpress/wp-content/$1 [NC,L] RewriteRule ^/blog/wp-admin/(.*) /external/wordpress/wp-admin/$1 [NC,L] RewriteRule ^/blog/wp-login.php(.*)...
  2. G

    WordPress: Permalink Rewrite Problem

    OK - I seem to have nailed this. Not fully tested, but working so far... In case it's of use to anyone, it's a simple as this: RewriteRule ^/blog/wp-includes/(.*) /external/wordpress/wp-includes/$1 [NC,L] RewriteRule ^/blog/wp-content/(.*) /external/wordpress/wp-content/$1 [NC,L]...
  3. G

    WordPress: Permalink Rewrite Problem

    Hi I'm hoping a LS guru can help me with this. I'm running WordPress inside a site under the url: mysite.com/blog Using the default permalinks, this works fine with the rewrite rule: RewriteRule ^/blog(.*) /external/wordpress/$1 [NC,L] But if I change the default permalink...
  4. G

    [Solved]Rewrites not preserving the URL scheme

    Thanks for responding. > the problem must be in the html code referencing the image file with absolution URL like http://... I was being dim, but in a different way. I'd introduced a rule higher up the chain which was having unexpected side-effects. I've fixed the bug and all is well...
  5. G

    [Solved]Rewrites not preserving the URL scheme

    Hi Folks Seems there's something I'm not understanding about rewrites in LS. These are config file rewrites set in the console. I have an http and https listener both pointing at the same virtual host. Everything works as expected under http. Under https, all the static file rewrites...
  6. G

    VIRTUAL HOST PATH permissions

    Thanks for the explanation! Can I suggest that if you are tidying up the instructions in the green box at the top of the Add VH screen, you could make this permissions issue clearer. It's not at all intuitive, and I for one got stuck...
  7. G

    VIRTUAL HOST PATH permissions

    Ah.. As the console is running in LS, I just assumed it ran as the same user. So where do I set the lsadmin user - I can't see a config setting for this? It does seem confusing to have 2 users - is this a security feature? I can't be the only one who's been caught out this way...
  8. G

    VIRTUAL HOST PATH permissions

    Thanks for responding. But I'm still confused... The config file was writeable (all other config settings saved fine) and all directories pre-exist and are writeable by Litespeed (directories owned by apache with wrx perms, LS running as apache). The paths are correct (copy & paste from the...
  9. G

    VIRTUAL HOST PATH permissions

    I've solved this by writing the doc path directly in the xml config file, but I would still appreciate any help as to why I can't do this in the console.
  10. G

    VIRTUAL HOST PATH permissions

    Hi folks Trying to set up a VIRTUAL HOST PATH in the console, and getting "path not writeable" errors. There's obviously something basic I'm not understanding... LS is running on CentOS, as apache. I can save paths down to /var/www/, which are owned by root. I can't save any paths below this...
  11. G

    Baffling listener behaviour

    Yes, it's there: [asc_dev] ascdev.mysite.com asc-dev.mysite.com asc_dev.mysite.com ascdev and asc_dev work as expected. asc-dev is mapped to the other site on the listener... Geoff
  12. G

    Baffling listener behaviour

    Can't be that - it's just a minimal default configuration. Can't be that either - as I said - both domains are mapped to the same listener. Any ideas? It would be nice to get this fixed. Apart from anything else, I'm intrigued to figure out what could be causing this!
  13. G

    Baffling listener behaviour

    Nothing in the logs that I can see. So what could cause this in the vhost setup? The setup is simply a cut and paste from another similar site which works fine - I just changed the paths. And so far as I can see the request never reaches the vhost - the listener is mapping it to the other...
  14. G

    Baffling listener behaviour

    Hi Folks Experiencing something rather odd. Is this a bug, or am I misunderstanding something? I use sub domains for the different development versions of my sites, eg: lio-test.mysite.com lio-dev.mysite.com I've done this many times with no problems. But setting up a listener for...
  15. G

    Compiling PHP Pecl extensions

    Hi mistwang Thanks for the suggestions This is the first time I've built this extension - that can't be it. So I'll try your idea of upgrading the system level PHP - even though I'm running the LS version of pecl, I guess it must be using system level libraries for the compile.
  16. G

    Compiling PHP Pecl extensions

    Hi folks I have LS enterprise running on CentOS. We're using PHP v 5.2.9 built from the LS console to run on LSSAPI. I'm trying to build a PHP PECL extension, but it wont load - the stderr log says: Module compiled with module API=20050922, debug=0, thread-safety=0 PHP compiled with module...
  17. G

    URGENT: all php requests suddenly failing

    Hi Php was crashing - since the last server restart I'd inadvertently removed an obscure library that the LiteSpeed php5 compile seems to need. It was recorded in the std.err log, which I managed somehow to misread. So, entirely my fault. Tech support were very helpful in pointing me in...
  18. G

    URGENT: all php requests suddenly failing

    Solved Hi folks I got through to support by phone - problem solved... Thanks Geoff
  19. G

    URGENT: all php requests suddenly failing

    Hi We have an *urgent* problem with our enterprise server. Running on the current CentOS with PHP5 though the LSAPI. It's been running fine for months. Made an innocuous change to the php.ini file and restarted LS from the command line. From that point, static files have been...
Top