Can I run two ScriptAlias on httpd.conf?

Discussion in 'Apache' started by a208, Jun 15, 2011.

  1. #1
    Our company has only one domain, no virtual domain, but there have two cgi-bin script require to run, one for awstats and one for ksearch, unfortunately,

    if I set the following setting, ksearch work, awstats doesn't work

    ScritpAlias /cgi-bin/ "/usr/lib/cgi-executive"

    If I set

    ScriptAlias /cgi-bin/ "/../wwwroot/cgi-bin/", then awstats work, but ksearch doesn't work

    so can i add following two ScriptAlias in httpd.conf, is it possible to run smooth both ScriptAlias on ksearch and awstats?

    ScritpAlias /cgi-bin/ "/usr/lib/cgi-executive"
    ScriptAlias /awstats/ "/../wwwroot/cgi-bin/"
     
    a208, Jun 15, 2011 IP