Richard Lynch wrote:
You'd be confusing the HELL out of me to have PHP sending out a 403
because it couldn't read the included file after it already managed to
read index.php and connect.inc
Right, I don't disagree with you that it would be confusing and
inconsistent which is why no such magic is
Rasmus Lerdorf wrote:
> Jason Barnett wrote:
>>> the wrong permissions. Why does apache not server the 403 on the php
>>> page? Maybe this is better off in the apache list.
>>
>> Yeah, this is really better on an Apache list... but...
>> http://httpd.apache.org/docs/mod/core.html#errordocument
>
Jason Morehouse wrote:
I still don't really get why apache hands parsing off to php when it
knows it doesn't have read access to the file, but I'll save that for
another list!
It could check, I suppose, but it doesn't always know that just because
it can't access the file the receiver won't be a
> On Jan 10, 2005, at 12:49 PM, Jason Morehouse wrote:
>
>> Hello. I'm not sure if this is an apache problem or php... but
>> wondering if anyone has come across the same problem.
>>
>> -rw---1 root roottest.html
>> -rw---1 root roottest.php
>>
>> Trying to
Jason Barnett wrote:
the wrong permissions. Why does apache not server the 403 on the php
page? Maybe this is better off in the apache list.
Yeah, this is really better on an Apache list... but...
http://httpd.apache.org/docs/mod/core.html#errordocument
No, it has nothing to do with Apache.
Richard Lynch wrote:
A! Now we see the question! Why doesn't it yield 403 like it "should"
First and foremost, use php.ini or httpd.conf or .htaccess to *NOT* let
PHP send error messages OF ANY KIND to the browser on a production site.
[You could also use ini_set within a script if the file i
Jason Morehouse wrote:
Jonel Rienton wrote:
man chmod, i gather you're new to linux/*nix
I don't need a lesson in file permissions, thanks. Apache runs as
nobody. The problem isn't trying to get apache to display test.php,
it's having it display the proper 403 error page, rather than a php
er
On Mon, 2005-01-10 at 15:21, Jason Morehouse wrote:
> Jonel Rienton wrote:
> > man chmod, i gather you're new to linux/*nix
>
> I don't need a lesson in file permissions, thanks. Apache runs as
> nobody. The problem isn't trying to get apache to display test.php,
> it's having it display the p
On Tuesday 11 January 2005 04:13, Jason Morehouse wrote:
> I don't need a lesson in file permissions, thanks. Apache runs as
> nobody. The problem isn't trying to get apache to display test.php,
> it's having it display the proper 403 error page, rather than a php
> error when it doesn't have ac
* Thus wrote Jason Morehouse:
> Richard Lynch wrote:
> >Jason Morehouse wrote:
> >
> >>Hello. I'm not sure if this is an apache problem or php... but
> >>wondering if anyone has come across the same problem.
> >>
> >>-rw---1 root root test.html
> >>-rw---1 root root
* Thus wrote trobi:
> Jason Morehouse wrote / napísal (a):
>
> >Hello. I'm not sure if this is an apache problem or php... but
> >wondering if anyone has come across the same problem.
> >
> >-rw---1 root roottest.html
> >-rw---1 root roottest.php
> >
> What about
the wrong permissions. Why does apache not server the 403 on the php
page? Maybe this is better off in the apache list.
Yeah, this is really better on an Apache list... but...
http://httpd.apache.org/docs/mod/core.html#errordocument
--
Teach a person to fish...
Ask smart questions: http://www
Jonel Rienton wrote:
man chmod, i gather you're new to linux/*nix
I don't need a lesson in file permissions, thanks. Apache runs as
nobody. The problem isn't trying to get apache to display test.php,
it's having it display the proper 403 error page, rather than a php
error when it doesn't have
man chmod, i gather you're new to linux/*nix
http://jonel.road14.com
--
I not know English well, but I know 7 computer languages.
anonymous
On Jan 10, 2005, at 12:49 PM, Jason Morehouse wrote:
Hello. I'm not sure if this is an apa
you have to allow others to read it.
You have it so only root can access the file. Try this:
chmod 644 test.php
while logged in as root. This should put the file as
-rw-r--r-- 1 root root test.php
HTH
Travis
- Original Message -
From: "Jason Morehouse" <[EMAIL PROTECTED]>
To:
Sent: Mond
Richard Lynch wrote:
Jason Morehouse wrote:
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root root test.html
-rw---1 root root test.php
Trying to access test.html via a browser servers up th
On Tuesday 11 January 2005 02:49, Jason Morehouse wrote:
> Hello. I'm not sure if this is an apache problem or php... but
> wondering if anyone has come across the same problem.
It's a file permissions problem as can be seen clearly below (which you've
thoughtfully included).
> -rw---1
Jason Morehouse wrote:
> Hello. I'm not sure if this is an apache problem or php... but
> wondering if anyone has come across the same problem.
>
> -rw---1 root root test.html
> -rw---1 root root test.php
>
> Trying to access test.html via a browser servers up the apache 40
Jason Morehouse wrote / napísal (a):
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root roottest.html
-rw---1 root roottest.php
Trying to access test.html via a browser servers up the
On Mon, 10 Jan 2005 13:49:26 -0500, Jason Morehouse <[EMAIL PROTECTED]> wrote:
> Hello. I'm not sure if this is an apache problem or php... but
> wondering if anyone has come across the same problem.
>
> -rw---1 root root test.html
> -rw---1 root root test.php
>
> Try
20 matches
Mail list logo