* Thus wrote Louie Miranda ([EMAIL PROTECTED]):
> I got what you mean, but can we do this on the whole directory instead by
> files?
> Like for example the whole / directory and /subdirectory/ so i wont be doing
> that editing every files?

If you want a specific directory to be executed you're looking more
towards some mod_rewrite stuff with apache. Something like:

# send all trafic to a php_file
RewriteRule ^/(.*)$ /path/to/php_file [L]

Or

# ditto but only under dirname/
RewriteRule ^/dirname/(.*)$ /path/to/php_file [L]


Of course this is getting a little offtopic and might be more
suitable to some apache list to figure out the best solution on how
to redirect a paticular request to a php file.


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to