Hello devinfo,

  Done compiling PHP4.2.3 on e-smith.

  putted my php binary in  /home/e-smith/files/ibays/web/php-bin
  and chmod 770
  and chown www:www

  So that each virtualHost has is own build of php.
  See what I get :

[root@e-smith web]# ls -l
total 16
drwxrws---    3 admin    dev          4096 Mar 16 09:32 cgi-bin
drwxrws---    3 admin    dev          4096 Mar 16 09:32 files
drwxrws---   65 admin    dev          4096 Sep  3 17:16 html
drwxrwx---    2 www      www          4096 Sep 13 10:28 php-bin

   Then i disable loading PHP module in httpd.conf and add this
   to virtual host directive:

    ScriptAlias /php-bin/ /home/e-smith/files/ibays/web/php-bin
    Action php-script /php-bin/php
    AddHandler php-script .php .php3 .phtml

  Then I restart httpd wich is well done.

  When I point to info.php I get:

Forbidden
You don't have permission to access /php-bin/php/info.php on this server.  

  Any ideas ?

-- 
Regards,
 Haj
 [EMAIL PROTECTED]


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to