Forum Moderators: phranque

Message Too Old, No Replies

keep URL static

do not change URL

         

phparion

8:58 am on Apr 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



hi

i have a script on my one server that use php function "fopen()" to read a file but on my this server the fopen() is disabled due to security reasons, therefore i had to move this script to my other server that give its support. now i want to prevent URL from changing, because when someone calls this script it goes to the server number 2 to execute it and shows server number 2 URL but i dont want to let the user know that this script resides on some other server thats why i want to keep the URL unchanged on server number 1 when this script is called.

how can do it? any help is highly appreciated

thanks

jdMorgan

3:02 pm on Apr 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See Apache mod_proxy.

A simpler solution might be to move the site to a host that supports its requirements...

Jim

phparion

3:45 pm on Apr 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I thought i can do it with .htaccess?