You are here: PHP inside .htacess protected file « PHP « IT news, forums, messages
PHP inside .htacess protected file

Posted by James Tu on 04/05/05 21:24

I have this dilemma...I know this is more of an apache question than
a PHP questions, but I thought that it's partially related.

We have a webserver that we want to turn on/off access.
We were thinking of using simple HTTP authentication to protect the
main webserver directory.

We have Flash movies that talk to PHP scripts inside the webserver directory.

When we have our .htaccess file inside the main webserver directory,
Flash can't comunicate with the PHP scripts.


So ideally this is what we want...prevent access to the directory but
allow our Flash movies to talk to the PHP scripts in the directory.

How would I go about doing this?
Can I create a subfolder to put the PHP scripts in and put another
..htaccess in that folder to override the protection?

Thanks.
--
-James

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация