[Xitami] Aliases, filters and php

Daniel Ajoy xitami@lists.xitami.org
Wed, 3 Oct 2001 22:27:20 -0500


Hi everyone,

I'm having problems when I try to combine and alias with
a filter to a php file extension.


defaults.cfg 

[Alias]
    Owl = "D:\\us\\Trab\\OPENWORLD\\php"
    Tmp = "E:\\ts"

[Cgi]
    Timeout = "20"

[Filter]
    .awk = "gawk.exe -f"
    .php = "E:\\ut\\php\\php.exe"

[Security]
    Filename = "defaults.aut"

[Server]
    Debug = "1"
    Default3 = "index.php"
    Priority = "1"




I have this files:

index.php index.htm index.awk   in   D:\us\Trab\OPENWORLD\php\




I working on Win95
I am using this version of Xitami   bw3225b4.exe 


When I invoke this:

http://127.0.0.1/owl/index.php

nothing appears.

When I remove index.php from that directory and reinvoke...

http://127.0.0.1/owl/index.php


... this message appears in the browser:
"The URL you asked for does not exist on this website"






When I run this at the dos prompt

php D:\us\Trab\OPENWORLD\php\index.php

it works, from any directory. php.exe is in my path.






When I invoke this:

http://127.0.0.1/owl/index.awk

the cgi works.




When I simply put index.php under webpages and
invoke:

http://127.0.0.1/index.php

it works.


That is why I think it is a bug has to do with 
aliases, filters and php.


Any other suggestions I can try?

Daniel