
December 26th, 2002, 10:23 AM
|
 |
A PAtCHy sErver
|
|
Join Date: Jun 2001
Location: Italy
Posts: 408
Time spent in forums: 2 m 27 sec
Reputation Power: 11
|
|
Hi,
I don't think it's possible with a 100% Apache solution,
but you could use a mix of Apache and Php.
I'd suggest this:
Server:
myspace.someISP.com
/.htaccess
Code:
RewriteEngine on
RewriteCond %{REQUEST_URI} !/pippo.php [NC]
RewriteRule ^(.*)$ /pippo.php [L]
/pippo.php
PHP Code:
<?php
readfile( "http_://myownserver.com/html/".$_SERVER[ 'REQUEST_URI' ] );
?>
for that you need to have inside your php.ini
allow_url_fopen = On
to enable fopen wrappers
and php, obviously!
Hope It Helps!

pippo
Last edited by pippo : December 26th, 2002 at 10:28 AM.
|