[Radiant] Executing php script inside public directory

Kevin Ansfield kev at digitalblueprint.co.uk
Tue Sep 26 11:01:32 CDT 2006


One thing you may want to check is that your php configuration was not
specified in the .htaccess where your survey script previously lived.
It may be that the server hasn't been told to process .php files as
php scripts in the new location.

Kev
http://www.digitalblueprint.co.uk


On 9/26/06, Maurizio Balestrieri <maurizio at gmail.com> wrote:
> I've a PHP script (an online survey software) which I'd like to execute
> along Radiant. I copied the script (which is working well under another
> non-radiant served domain) under /myradiantapp/public directory. I modified
> the /myradiantapp/.htaccess file as follows:
>
> RewriteCond %{REQUEST_URI} ^/survey/.*
> RewriteRule .* - [L]
>
> What I get is not parsed by radiant but the PHP script is not executed when
> I invoke this URL:
>
>  http://www.example.com/survey/index.php
>
> but it is simply shown by the browser as if it were a plain text file.
>
> I guess is a PHP configuration issue (since it seems radiant relinquished
> its control on the pph script file), but the very same script worked well on
> the same machine (with the same php and apache configuration).
>
> I'm running a vps on rimuhosting.
>
> Any help would be appreciated. Thank you.
>
> --M
>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
>


-- 
Kevin Ansfield

Technical Director
BN23 Search Ltd.



More information about the Radiant mailing list