On Fri, Jul 26, 2013 at 10:55 AM, Ludwig Isaac Lim <[email protected]> wrote:
> Hi:
>
> I'm migrating our engineering webserver when I encountered this problem:
>
>         We have a test directory that contains various perl file, php as a
> test to see if CGIs and PHP is properly configured.  One of the test we have
> is we have a symlink called test.cgi that is actually a symoblic to test.pl.
> test.pl just prints hello world.
>
>          Running http://something.myweb/cee/test.pl prints the correct
> output, but running http://something.myweb/cee/test.cgi just prints out the
> source code.
>
>          The following is the snippet of my config:
>          AddHandler cgi-script .pl .cgi
>
>         <Directory "/p/web/cee">
>              Options Indexes FollowSymLinks ExecCGI
>              AllowOverride All
>         </Directory>

Try "Options .. +FollowSymLinks +ExecCGI", per
http://httpd.apache.org/docs/2.2/mod/core.html#options .

-- 
Zak B. Elep  ||  zakame.net
1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to