You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tim Johnson <ti...@akwebsoft.com> on 2015/03/31 03:31:02 UTC

[users@httpd] Scriptalias redirect not working on ubuntu 14.04

On ubuntu 14.04, I have made the following modifications to
/etc/apache2/conf-available :
[code begins]
<IfModule mod_alias.c>
    <IfModule mod_cgi.c>
        Define ENABLE_USR_LIB_CGI_BIN
    </IfModule>

    <IfModule mod_cgid.c>
        Define ENABLE_USR_LIB_CGI_BIN
    </IfModule>

    <IfDefine ENABLE_USR_LIB_CGI_BIN>
        #ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        ScriptAlias /cgi-bin/ /home/http/run/
        #<Directory "/usr/lib/cgi-bin">
        <Directory "/home/http/run">
            AllowOverride None
            Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
            Require all granted
        </Directory>
    </IfDefine>
</IfModule>
[code ends]

I.E. /usr/lib/cgi-bin is changed to /home/http/run

A simple shell script named 'cgitest' is provided and is set as executable.
After pointing the browser to http://localhost/cgi-bin/cgitest, I get a "not
found" error. If I point the browser to http://localhost/run/cgitest,
I get the code for cgitest, _not_ the output.

What else to I need to do?

thanks
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Support for HTTP 2.0

Posted by Apache Apache <ap...@hotmail.com>.
Hi,

I would like to know is there any version of apache that is able to support HTTP 2.0?

If no, what is the roadmap for apache to support HTTP 2.0?

Thank you. 

 		 	   		  
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Scriptalias redirect not working on ubuntu 14.04

Posted by Tim Johnson <ti...@akwebsoft.com>.
* Tim Johnson <ti...@akwebsoft.com> [150330 17:56]:
> On ubuntu 14.04, I have made the following modifications to
> 
> What else to I need to do?
> 
> thanks
  I should had added that it appears that cgi-bin may be be enabled
  at all. If I set the ScriptAlias value back to the default -
  /usr/lib/cgi-bin and restart apache I get a "not found error"
  also.

-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org