Search results

  1. ffeingol

    cPanel randhtml.cgi not working with LSWS SSI

    What version of LSWS were you testing on because we have still had no luck with this.
  2. ffeingol

    cPanel randhtml.cgi not working with LSWS SSI

    OK. Copied the newer cPanel binary over to the site. Changed the LSWS config so .shtml is no longer passed to Apache. Restarted LSWS. Does not work. In the error_log I see 'Premature end of response header.' for this site. If I add the user-id into the virtual statement I get an error...
  3. ffeingol

    cPanel randhtml.cgi not working with LSWS SSI

    Will do, but we have to schedule that kind of change for the weekend.
  4. ffeingol

    cPanel randhtml.cgi not working with LSWS SSI

    Yup, but what actually executes in the randhtml.cgi in the sies cgi-bin folder. This is what I have: ls -l randhtml.cgi -rwxr-xr-x 1 abcdef abcdef 3144 Jul 27 13:47 randhtml.cgi* This is a very old account so it's possible it has an old version of randhtml.cgi within it's cgi-bin.
  5. ffeingol

    cPanel randhtml.cgi not working with LSWS SSI

    What version of cPanel/WHM are you running? The sample code I gave (and what our client is running) does not have the user-id at the end of the code (see my example). The code works. With Apache the get random quotes (that's what they put in for the text) and under LSWS it's just blank.
  6. ffeingol

    cPanel randhtml.cgi not working with LSWS SSI

    1) Ensure that "Random Html Generator" is enabled in default features (or any set of features that you use) 2) Create a cPanel account 3) Log into that cPanel account 4) Click on 'CGI Center' 5) Click on 'Random HTML Generator' 6) Enter some text 7) create a .shtml page with the code they...
  7. ffeingol

    cPanel randhtml.cgi not working with LSWS SSI

    We have clients using the cPanel randhtml.cgi script to display random 'sayings' on their web site via SSI. It works when it's running through Apache but you get no output when the SSI is handled by LSWS. Please let me know if you need any other information.
  8. ffeingol

    [Resolved] LiteSpeed Path Issue

    Those come from a template that cPanel uses to built the virtual host. I'd look at the documentation on virtualhost includes (http://docs.cpanel.net/twiki/bin/view/EasyApache3/InsideVHost#Using_Include_Files) You can create a configuration file that will only be picked up by that one domain...
  9. ffeingol

    [Resolved] LiteSpeed Path Issue

    Not to get too OT here, but if you hand edited the httpd.conf file you are just waiting for a disaster. The next time cPanel rebuilds httpd.conf those chages will get wiped out.
  10. ffeingol

    Swap Folder Cleanup

    You get an error from ionice (ioprio_set: Operation not permitted).
  11. ffeingol

    Swap Folder Cleanup

    Any suggestions on how to do this from command line?
  12. ffeingol

    Swap Folder Cleanup

    The files are all owned by nobody (which is what I would expect). I'm going to leave it run tonight with the -x in place and the stdout log turned on. If it was a permissions issue I'd expect those messages to show up in the stdout log?
  13. ffeingol

    Swap Folder Cleanup

    Sorry, but this is still doing absolutely nothing. I've changed the: # /bin/sh to # /bin/sh -x So the execution gets logged to the stderr log. From the logs it's in the right directory and looping through all the various sub-directories but nothing actually gets deleted...
  14. ffeingol

    Swap Folder Cleanup

    Still does not appear to work. If I'm reading the script correctly, it's looking for files in: /cache/0 /cache/1 etc but the cache directory is actually organized /cache/0 /cache/0/0 /cache/0/1 /cache/1 /cache/1/0 /cache/1/1 Can anyone else confirm if this is working or not...
  15. ffeingol

    Swap Folder Cleanup

    OK, I fixed the script (there are actually 2 occurrences of the typo). Will there be a new release that fixes this typo?
  16. ffeingol

    Swap Folder Cleanup

    OK, I can see the messages that it's starting but it's doing nothing. In looking at the script it looks like it's looking for swap/0/file and our directory is swap/0/0/file. Is this just old junk from upgrades?
  17. ffeingol

    Swap Folder Cleanup

    check for updates is already set to daily. Is the execution logged anywhere so we can see why it's not working (or maybe not even running)?
  18. ffeingol

    Swap Folder Cleanup

    How does it get called (cron etc.) because it's doing nothing on at least one server.
  19. ffeingol

    SSI: Exec cgi causes include virtual not to work

    Well it works under Apache so it should work under LSWS. Feel free to PM me if you need the actual code/cgi for testing.
  20. ffeingol

    SSI: Exec cgi causes include virtual not to work

    It is relative. The cgi-bin folder is under the sites root and the main .shtml file is being run from the document root. Yes, it more or less works if you access it via /cgi-bin/blah.cgi. It does not output proper headers you you get some errors. It basically splits out HTML code that needs...
Top