> Hi All
>
> This is possibly more of an apache/linux question... does anyone
> know a way
> to force ANY url to run ONE PHP script on a virtual server... eg.
> the same
> script is run if a user goes to www.myserver.co.uk or
> www.myserver.co.uk/dfkgjdfl/ or www.myserver.co.uk/hello.htm or
> WHATEVER!!!
> :o)
If you're using apache and have rewrite enable. you could use
RewriteRule ^/(.*) /my_script?rest_of_url=/$1
or just
RewriteRule ^/(.*) /my_script
HTH
M@
--
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]