fastcgi make the .php script down-loadable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear list,

A strange issue with apache running in an opensuse 11.2 box.

With in particular folder, I have .htaccess containing only

` ` ` `
AddHandler php-fastcgi .php
` ` ` `

and this makes the .php file down-loadable. If I comment that line, then apache
shoes the source code of the .php How can I parse the .php ?

With in the vhost section, I have

` ` `
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
` ` `

and 

#ls -l /srv/www/cgi-bin/

shows

php5 -> /usr/bin/php-cgi5


I have also confirmed the following


# /usr/bin/php-cgi5 -v

PHP 5.3.5 (cgi-fcgi)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH


Am I missing something here ?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux