Hello, I'm desperate here... I hope this question hasn't been asked a million times before (I sure did not find an answer in the archives) I'm developing a site that runs perfectly on a surver with the PHP module in apache. The problem is that the site will be hosted on a server with PHP as CGI (from PHPinfo: Configure Command './configure' '--prefix=/usr/local/php' '--enable-static' '--enable-safe-mode=yes' '--enable-track-vars=yes' '--enable-memory-limit=yes' '--enable-short-tags=no' '--with-gd=/usr/local' '--with-mysql=/usr/local/mysql' '--enable-force-cgi-redirect' ) I have a couple of "Header: Location"s in the site that are not working properly. The redirect actualy happens BUT the address in the addressbar of the browser doesn't change. A little example: the first time someone visits he has to choose his language. At that moment a cookie is set. The next time he reaches the www.site.com/index.html some code checks for the cookie and he should get redirected to the first page in his language that is www.site.com/language/home/index.html What actualy happens is that he gets to see the page but in the addressbar it still shows www.site.com/index.html This gives a couple of ptoblems: when the user clicks refresh on his browser, the address in the addressbar gets refreshed. on that first page there is a java applet that doesn't get found (it looks for it in the root instead of in the home-directory. I hope this all is a littlebit understandable ... I don't know if this is important but I added a .htaccess in the root that forces .html to get parsed as php: *** Action application/x-httpd-php /cgi/php.cgi AddHandler application/x-httpd-php .html *** I don't think this has something to do with it but I add it just in case. Thanks to anyone who can shed some light on my problem! Bert please check my email address if you would like to mail me -- 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]