I solved my problem it seems that the php code was creating folders but setting them to 700 or 600 where it should have choosen to create standard structure 755 and 644. So what i did helped by a guy on IRC httpd named thumbs, was to set the permissions rightly first of upper folders and the of the file with
namei -m path and then chmod 755 and 644 and it works like a charm but the concern is if the php will create files with these permissions for a more dynamic app this could create some problems... On Tue, Nov 16, 2010 at 9:15 AM, Luis Cordova <[email protected]> wrote: > I tend to think this is a bug in suphp because the css is in a 7th level of > directory inside the top folder, perhaps it can reach up to only 5 levels? > > On Tue, Nov 16, 2010 at 9:02 AM, Luis Cordova <[email protected]> wrote: >> >> I think it results logical that if the css and js are owned by someone >> else that apache2 would not want to serve those, however, it is very strange >> as most of the css and js is served well, and only one or two css give >> problems really and they are those files buried in the folders... >> On Tue, Nov 16, 2010 at 1:08 AM, Aki Tuomi <[email protected]> >> wrote: >>> >>> On Mon, Nov 15, 2010 at 07:37:55PM -0500, Luis Cordova wrote: >>> > Hi again, >>> > >>> > permission issues appeared: >>> > >>> > [Mon Nov 15 19:31:30 2010] [crit] [client 127.0.0.1] (13)Permission >>> > denied: >>> > /home/cordoval/op/.htaccess pcfg_openfile: unable to check htaccess >>> > file, >>> > ensure it is readable, referer: http://p.local/pages/ >>> > >>> >>> Means, that the apache process was not able to read .htaccess file, most >>> likely because you have forgotten to make it readable for apache. >>> >>> > The file that is missing and unable to retrieve with a 403 error is >>> > style.css >>> > >>> > it seems to me the css files are now not going through the suphp >>> > module? >>> > >>> >>> Have you added handler mapping for .css files to go thru suphp? They are >>> not supposed to go thru PHP, normally. >>> >>> > I recall the handlers for .php >>> > however nothing was said about javascript or css files... should I be >>> > concerned? >>> > >>> > Please let, where should I enable a handler or where can i start to >>> > look? >>> > >>> >>> Do you want to make CSS and Javascript files go thru SuPHP? If yes >>> >>> AddHandler x-httpd-php .css .js ( i think, doublecheck with apache docs ) >>> >>> > Thanks! >>> > >>> > >>> > On Thu, Nov 4, 2010 at 2:29 AM, Aki Tuomi <[email protected]> >>> > wrote: >>> > >>> > > On Wed, Nov 03, 2010 at 08:34:19PM -0500, [email protected] wrote: >>> > > > Great I was able to solve it, and it seems to be executing now >>> > > > suphp as >>> > > the >>> > > > /var/log/suphp/suphp.log is filling up >>> > > > I feel so good, after weeks of trying this it is so encouraging. >>> > > > I commented the line from my apache.conf >>> > > > >>> > > >>> > > So you would've gotten it installed in ~15 minutes had you done the >>> > > following >>> > > >>> > > Install package libapache2-mod-suphp with your favorite package >>> > > manager >>> > > >>> > > and then actually, well, it would've worked. In some systems you >>> > > might've >>> > > had >>> > > to say a2dismod php5 , a2enmod suphp, but afair it does that >>> > > automatically. >>> > > >>> > > But it is always nice to see people learning from their mistakes, and >>> > > eventually reaching the solution. >>> > > >>> > > --- >>> > > Aki Tuomi >>> > > >>> > > -----BEGIN PGP SIGNATURE----- >>> > > Version: GnuPG v1.4.9 (GNU/Linux) >>> > > >>> > > iEYEARECAAYFAkzSYNwACgkQahHbMDrZuj7XDQCgsImUdzctKlm0lwvNwpr4rSX1 >>> > > PswAnRjMJcycOFA+Pyk6JcTzKO1ZGz4z >>> > > =viTV >>> > > -----END PGP SIGNATURE----- >>> > > >>> > > >>> >>> > _______________________________________________ >>> > suPHP mailing list >>> > [email protected] >>> > https://lists.marsching.com/mailman/listinfo/suphp >>> >>> >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.9 (GNU/Linux) >>> >>> iEYEARECAAYFAkziH+gACgkQahHbMDrZuj6MYgCZAUgDt5fJIoWywWko2EIPqsxh >>> 2gwAoKSlKkvfHxwlSjr1oqDS6iP6I8lT >>> =rz73 >>> -----END PGP SIGNATURE----- >>> >> > > _______________________________________________ suPHP mailing list [email protected] https://lists.marsching.com/mailman/listinfo/suphp
