Hrishi wrote:
> 
> Hello,
> 
> Is it possible using apache .htaccess to have every file served from a
> particular domain/directory
> pass through a custom script? or is it necessary to make changes at the root
> level?

RewriteEngine on
RewriteRule   ^/(.+)  http://newserver/$1  [R,L]

or

RewriteEngine on
RewriteRule   ^/(.+)  /your/apache/documentroot/admin/index.php 

Read more about rewrite here:

http://httpd.apache.org/docs/misc/rewriteguide.html
-- 
Paul K Egell-Johnsen
Utvikler/PR Manager
eZ systems as
http://ez.no/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to