Search results

  1. 2

    Change the location of pid file..

    Hi, Is there any way to change the name and/or location of litespeed's pid file? -Regards, AKB
  2. 2

    Any host name variable that can be used in templates??

    I wish to have a catch-all domain and then generate the doc-root based on the host name. Is there any host name variable that can be used in templates? -Regards AKB
  3. 2

    "Auto Restart" on or off has no effect ??

    The explanation says: When this option is enabled, there are two instances of server process "lshttpd". Irrespective of whether "Auto Restart" is left on or off, there are always 2 lshttpd processes running. Its always like this: |-lshttpd-+-httpd | |-lshttpd...
  4. 2

    Modify request headers ??

    To be more specific, is there any way to do this: SetEnvIf Content-Type ^(multipart/form-data)(.*) NEW_CONTENT_TYPE=multipart/form-data-alternate$2 OLD_CONTENT_TYPE=$1$2 RequestHeader set Content-Type %{NEW_CONTENT_TYPE}e env=NEW_CONTENT_TYPE
  5. 2

    Modify request headers ??

    Is it possible to modify/add request headers before passing it to a external application (PHP) for processing ? If yes how ? -Regards, Akash
  6. 2

    CGI Setup with access only to Perl binary.

    Is something like: cgi.assign = ( ".pl" => "/usr/bin/perl" ) cgi.assign = ( ".cgi" => "/usr/bin/perl" ) (as in Lighttpd) not possible in Litespeed? -Regards, Akash
  7. 2

    Gzip output script works with Perl-CGI but gives error with Perl-FCGI..

    I am also not a Perl expert either. Simply picked the code from YaBB which is very old and very popular forum package in Perl. My point here was not regarding the quality of code. I simply wanted to know why CGI is able to do it while FCGI cannot. May be your guess explains that. But...
  8. 2

    Gzip output script works with Perl-CGI but gives error with Perl-FCGI..

    Hi there, I was trying to install popular perl based forum YaBB on a Litespeed installation. It worked well when I was running Perl in CGI mode but started giving blank pages when I switched to FCGI using lsperld. After some debugging I found out that its the GZIP code which is causing this...
  9. 2

    CGI Setup with access only to Perl binary.

    Lighttpd does allow to map extension based interpreter: $HTTP["url"] =~ "/cgi-bin/" { cgi.assign = ( ".pl" => "/usr/bin/perl" ) }
  10. 2

    CGI Setup with access only to Perl binary.

    Hi there, The default setup of litespeed has a CGI context for ~/cgi-bin which allows files in this directory with proper permissions to get executed by the interpretor supplied on shebang line within the script. Now this allows arbitrary commands to get executed on the system. For example...
  11. 2

    php5 for a specific URL w/o using htaccess ??

    Is it possible to enable php5 for a specific uri of a VH without using .htaccess. serverwide I use PHP4. But for a domain: abc.com (VH: abc), i want to enable enable php5 for: abc.com/live/ and sub-uris. is it possible? -Regards, Akash
  12. 2

    lshttpd & lscgid processes?

    You didn't clarify about the "Auto Restart" function. Turning it on or off doesn't have any impact on the number of running processes contrary to its description. So 2 lshttpd processes are bare minimum required to be running in order to make litespeed start serving files? Isn't there anyway...
  13. 2

    lshttpd & lscgid processes?

    Hi everyone.. Installing litespeed was so easy and now being a techy i am trying to understand the nitty-gritties of its working model. At the first start using "lswsctrl start", it launched 3 processes: root 27971 0.0 0.6 5104 1776 ? S 08:31 0:00 ./lshttpd root...
Top