R: [Phplib-users] Apache .htaccess and auth phplib integration question
Brought to you by:
nhruby,
richardarcher
From: Gaetano G. <giu...@se...> - 2002-09-06 09:20:36
|
>=20 > On Thu, 5 Sep 2002, Serghej Petrov wrote: > Hello Serghej, >=20 > What you want is not possible if the files under=20 > protected_files are not > PHP >=20 > HTH >=20 > Tarique >=20 In that case one option is to configure Apache to handle ALL HTML = requests trough PHP (it does not apply to images, though). But you'd better check out first that you do not break your = /protected_files site.=20 Hint: configure php to only recognize the long tag ( <?php ) and not the = short version ( <? ). You should also expect some slowdown in server response time and = increase in cpu usage. Gaetano >=20 > > Hello everybody, > > I have the question about directory protection. > >=20 > > The site www.mysite.com is protected with=20 > > page_open(array("sess" =3D> "TiSid", "auth" =3D> "Crypt_Auth",=20 > "perm" =3D> "Perm", "user" =3D> "User")); > > in auto prepend file prepend.php3 > > BUT the alias /protected_files (=20 > www.misite.com/protected_files) is not protected because have=20 > not php files inside. > > How can i protect "protected_files" dir and all subdiris=20 > and files with same phplib auth scheme? > > Is it possible insert into .htaccess page_open function call? > >=20 > > Thanks all. > > Best > > Serghej > > =20 > >=20 > >=20 |