[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ4] PHP without .php
- Subject: Re: [cobalt-users] [RaQ4] PHP without .php
- From: "Andy Clyde, oxfordmusic.net" <andy.clyde@xxxxxxxxxxxxxxx>
- Date: Mon Aug 19 14:09:02 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> At 02:13 AM 20/08/02 +0530, you wrote:
> >>>A user brought to my attention that on his php enabled site,
> >>>"phpscriptname.php" and "phpscriptname" both execute the file.
> >>>
> >>>Can anyone explain why?
> >>>Does php parse every file?
> >>>-----------------------
> >>>Does the site have any related mod-rewrite rules either in the
> >>>httpd.conf or in an .htaccess files for the related director(y|ies)?
> >>
> >>I also notice that this works with other sites on the server - is this
> >>the default behavior for php? Can somebody test it on their box also?
> >
> >I just tested this on my machine (RaQ3 w/ php 4.2.2.). It does not work.
> >Outside of the incident you describe, as far as I am aware, PHP does not
> >parse files that it is not specified to do so in your httpd.conf file.
> >
> >Hope this helps,
> >Kam.
>
> Thanks Kam, now I have conflicting info :)
>
> I'm running PHP 4.1.2-3 on a RaQ4.
> Results from anyone else?
>
> - Bill
i ran this script:
<?
print(phpinfo());
?>
called just test - i.e. no .php
on a raq4 with php enabled and it didn't parse it as php.
andy