[Bug 554903] Re: apache2 with mod php5 does not execute index.php

2010-04-05 Thread Stefan Fritsch
Kenneth: Enabling php in the userdirs is a security hazard: It allows
every local user on a machine to execute arbitrary code as user www-
data. As this is non-obvious to most admins, the default was changed.

In any case, this is not Zalzadore's problem:

 http://localhost/bean/index.php the page will render correctly but not
if I visit http://localhost/bean/

I have no idea what could be causing this. Zalzadore, can you post more
details about your configuration?

-- 
apache2 with mod php5 does not execute index.php
https://bugs.launchpad.net/bugs/554903
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 554903] Re: apache2 with mod php5 does not execute index.php

2010-04-05 Thread Zalzadore
OK,
So, upon further investigation I think we can close this one. It seems that
it was the caching in Chrome that was the problem. Firefox did not exhibit
the same problem and when I tried to access the dud URLs through Chrome,
apache2 was not even contacted.

It seems that when PHP was disabled for the userdirs Chrome cached the files
that were served up as ascii downloads and kept giving me the same thing
even when I changed the apache2 config.

I flushed the Chrome cache and now all is good. Incidentaly, the disabling
of userdir PHP in this way was confusing for me as I am not actually using
the userdir mod. I have just changed the DocumentRoot to be off my home
directory to make local development easier.

Thanks for all your efforts guys, sorry about the run around.

A.

On Mon, Apr 5, 2010 at 6:31 PM, Stefan Fritsch s...@sfritsch.de wrote:

 Kenneth: Enabling php in the userdirs is a security hazard: It allows
 every local user on a machine to execute arbitrary code as user www-
 data. As this is non-obvious to most admins, the default was changed.

 In any case, this is not Zalzadore's problem:

  http://localhost/bean/index.php the page will render correctly but not
 if I visit http://localhost/bean/

 I have no idea what could be causing this. Zalzadore, can you post more
 details about your configuration?

 --
 apache2 with mod php5 does not execute index.php
 https://bugs.launchpad.net/bugs/554903
 You received this bug notification because you are a direct subscriber
 of the bug.


-- 
apache2 with mod php5 does not execute index.php
https://bugs.launchpad.net/bugs/554903
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 554903] Re: apache2 with mod php5 does not execute index.php

2010-04-05 Thread Chuck Short
** Package changed: apache2 (Ubuntu) = php5 (Ubuntu)

-- 
apache2 with mod php5 does not execute index.php
https://bugs.launchpad.net/bugs/554903
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 554903] Re: apache2 with mod php5 does not execute index.php

2010-04-05 Thread Mathias Gug
On Mon, Apr 05, 2010 at 11:21:20AM -, Zalzadore wrote:
 OK,
 So, upon further investigation I think we can close this one.

Closing as suggested by reporter.

  status invalid

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com


** Changed in: php5 (Ubuntu)
   Status: Confirmed = Invalid

-- 
apache2 with mod php5 does not execute index.php
https://bugs.launchpad.net/bugs/554903
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 554903] Re: apache2 with mod php5 does not execute index.php

2010-04-04 Thread Bug Watch Updater
** Changed in: apache2 (Debian)
   Status: Unknown = Fix Released

-- 
apache2 with mod php5 does not execute index.php
https://bugs.launchpad.net/bugs/554903
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 554903] Re: apache2 with mod php5 does not execute index.php

2010-04-04 Thread Kenneth O'Brien
This patch makes apache2 serve php5 from public_html by default, and includes 
instructions on how to disable it.
Previous behavior was was to disable by default and instruct to enable.

I think my way is more user friendly and is expected behavior.

** Attachment added: Enables use of public_html php.
   http://launchpadlibrarian.net/43130246/php5_5.3.2-1ubuntu4.debdiff

-- 
apache2 with mod php5 does not execute index.php
https://bugs.launchpad.net/bugs/554903
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 554903] Re: apache2 with mod php5 does not execute index.php

2010-04-03 Thread Zalzadore

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/43016115/Dependencies.txt

-- 
apache2 with mod php5 does not execute index.php
https://bugs.launchpad.net/bugs/554903
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 554903] Re: apache2 with mod php5 does not execute index.php

2010-04-03 Thread Kenneth O'Brien
apache2 specifically won't load php from public_html even with userdir
module loaded

** Changed in: apache2 (Ubuntu)
   Status: New = Confirmed

** Bug watch added: Debian Bug tracker #571714
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571714

** Also affects: apache2 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571714
   Importance: Unknown
   Status: Unknown

-- 
apache2 with mod php5 does not execute index.php
https://bugs.launchpad.net/bugs/554903
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs