From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-131733-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RVADL-0007Dz-8B for garchives@archives.gentoo.org; Mon, 28 Nov 2011 23:02:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D89821C082; Mon, 28 Nov 2011 23:02:08 +0000 (UTC) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by pigeon.gentoo.org (Postfix) with ESMTP id 09DC821C029 for <gentoo-user@lists.gentoo.org>; Mon, 28 Nov 2011 23:00:46 +0000 (UTC) Received: by wwf22 with SMTP id 22so8098954wwf.4 for <gentoo-user@lists.gentoo.org>; Mon, 28 Nov 2011 15:00:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=m/Nh687q3xiz1Na44qgLjIzJ77ut91akF/PT+hpfESU=; b=Bcs9D4ny8ONvfHN3GrTav9Oq6/OxcHEHziH7l7M8ThszztOEVAGz7eTXAVcxvzsbAS ZM6Sn6+ETbZOLoAKLQu9Dvt6zG1+VC5W4xQJVaPMrNgQ/uJnQLAy/OR/lv/W8MxxU3B0 tpvyCBMYKiyntJ+jI3/+cV99EpVxBCkpsywoI= Received: by 10.227.206.19 with SMTP id fs19mr24911422wbb.25.1322521246169; Mon, 28 Nov 2011 15:00:46 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPS id f18sm15062926wiv.14.2011.11.28.15.00.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Nov 2011 15:00:44 -0800 (PST) From: Mick <michaelkintzios@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Apache Php cgi and user_dirs Date: Mon, 28 Nov 2011 23:01:35 +0000 User-Agent: KMail/1.13.7 (Linux/3.0.6-gentoo; KDE/4.6.5; x86_64; ; ) References: <4ED29F36.7040009@volny.cz> In-Reply-To: <4ED29F36.7040009@volny.cz> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8324510.zzexjnSXQK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201111282301.44391.michaelkintzios@gmail.com> X-Archives-Salt: 1d26e986-7ccd-4b7a-ba9f-c20defe0c5e6 X-Archives-Hash: cf69abbf252a50b11c241817fb7ed6a4 --nextPart8324510.zzexjnSXQK Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Sunday 27 Nov 2011 20:36:06 Samuraiii wrote: > Hello, >=20 > Today Im form morning trying to get working apache 2.2.21-r1 and php > 5.3.8 with userdirs mod. > The problem is that apache is capable of opening ~/public_html but when > it gets to open folder with index.php > it fails with this error: > (in browser) > The requested URL /php5cgi/php/~uname/path/to/index.php was not found on > this server. > (in syslog) > [date] [error] [client ::1] File does not exist: > /var/www/localhost/htdocs/php5cgi >=20 >=20 > php uses: > apache2 berkdb bzip2 cli crypt ctype curl curlwrappers exif fileinfo > filter flatfile ftp gd gdbm hash iconv ipv6 json ldap mhash mysql mysqli > nls phar posix readline session simplexml spell ssl sysvipc tidy > tokenizer truetype unicode xml zlib >=20 > apache uses: > apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic > apache2_modules_authn_alias apache2_modules_authn_anon > apache2_modules_authn_dbm apache2_modules_authn_default > apache2_modules_authn_file apache2_modules_authz_dbm > apache2_modules_authz_default apache2_modules_authz_groupfile > apache2_modules_authz_host apache2_modules_authz_owner > apache2_modules_authz_user apache2_modules_autoindex > apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs > apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir > apache2_modules_disk_cache apache2_modules_env apache2_modules_expires > apache2_modules_ext_filter apache2_modules_file_cache > apache2_modules_filter apache2_modules_headers apache2_modules_include > apache2_modules_info apache2_modules_log_config apache2_modules_logio > apache2_modules_mem_cache apache2_modules_mime > apache2_modules_mime_magic apache2_modules_negotiation > apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling > apache2_modules_status apache2_modules_unique_id apache2_modules_userdir > apache2_modules_usertrack apache2_modules_vhost_alias ldap ssl >=20 > I'm absolutly desprate of this >=20 > I do not understand why its looking for php files under /php5cgi/php/ > whe I dont even have cgi enabled in both php and apache >=20 > Any suggestions would be appreciated > S Sorry for giving an incomplete answer but I am away from a server to look i= nto=20 this at any depth.=20 As a quick suggestion there should be a directive like: <IfDefine PHP...> in your http.conf or /etc/apache2/vhosts.d/00_default_vhost.conf if you are= =20 using virtual hosts, which you would probably need to edit to allow it to r= ead=20 the necessary ScriptAlias paths and handlers. I'm sure that the apache=20 documentation explains all this on their website? I hope this gets you started until someone else gives a more complete answe= r. =2D-=20 Regards, Mick --nextPart8324510.zzexjnSXQK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk7UEtgACgkQVTDTR3kpaLY2TQCg5VQaP3hQdvRCsMyWu5Pr8iY/ px8AoINkqzTzbEtqedO/U+H2xaefGNGG =tv0N -----END PGP SIGNATURE----- --nextPart8324510.zzexjnSXQK--