Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-05 Thread Vincent Bray
On 06/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: I've asked again our hosting provider about this and their (highly irritating) answer has been: "We are sorry however we do not provide coding or scripting support through this forum. Mod_rewrite works just fine on our servers and your quest

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-05 Thread Senén de Diego
I've asked again our hosting provider about this and their (highly irritating) answer has been: "We are sorry however we do not provide coding or scripting support through this forum. Mod_rewrite works just fine on our servers and your question about AllowOverride goes in the php.ini. You can

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-04 Thread Senén de Diego
I'm worried about your head, please take care... Vincent Bray escribió: This is making my head spin. The only time the jnlp file is served is when it's not requested and not rewriten to? That makes no sense! I'm not sure I understand you here. There is no jnlp file, there is only a php file. If

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-04 Thread Vincent Bray
This is making my head spin. The only time the jnlp file is served is when it's not requested and not rewriten to? That makes no sense! - Are there any other rules in the file? - Are there any other .htaccess files in parent directories of this one? - Does your ISP do anything special with this t

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-04 Thread Senén de Diego
I've done some tests adding the header "Control-Cache: no-cache" to the requests (using LiveHttpHeaders plugin in Firefox) and (I think) the proxy caches can be discarded as the origin of the problem. With this rewrite rule (jnlp): -- RewriteBase /herramientas/ RewriteRule ^sincronizar1\.jnlp$

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-03 Thread Vincent Bray
On 03/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: The only difference between RewriteRule ^sincronizar\.jnlp$ sincronizar.php and RewriteRule ^sincronizar\.html$ sincronizar.php is that the file sincronizar.jnlp exists, and sincronizar.htm doesn't (but if I remove sincronizar.jnlp nothing ch

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-03 Thread Senén de Diego
Well, the funny part is that I'm doing all this to try to avoid caching issues... I'm redirecting sincronizar.jnlp to sincronizar.php only to add an Expires header in the response (because our hosting provider doesn't have mod_expires installed and doesn't want to install it...). The main ISP h

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-03 Thread Vincent Bray
On 03/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: This rule doesn't work RewriteRule ^sincronizar\.jnlp$ sincronizar.php but this one does work RewriteRule ^sincronizar\.html$ sincronizar.php I've also noticed that if I put a fake .htacces file, with something like "Waboo", there are cases

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-03 Thread Senén de Diego
This rule doesn't work RewriteRule ^sincronizar\.jnlp$ sincronizar.php but this one does work RewriteRule ^sincronizar\.html$ sincronizar.php I've also noticed that if I put a fake .htacces file, with something like "Waboo", there are cases where I get an 500 error, but cases where I don't. For

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-02 Thread Vincent Bray
On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: The real url I'm trying to redirect is http://www.electrodh.com/herramientas/sincronizar1.jnlp and I want to redirect it to http://www.electrodh.com/herramientas/sincronizar.php The content of the herramientas/.htaccess file is: RewriteEngin

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-02 Thread Senén de Diego
I'm afraid you are right. The "redirect everything" works. There must be anything wrong in my .htaccess. But I cannot see what it is. The real url I'm trying to redirect is http://www.electrodh.com/herramientas/sincronizar1.jnlp and I want to redirect it to http://www.electrodh.com/herramientas/

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-02 Thread Vincent Bray
On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: That's what I thought. I think this people does have neither mod_alias nor mod_rewrite enabled, and I don't know why, they are telling me just the contrary... That seems unlikely. As you tried the 'Wooga' trick and got a 500 error, your hta

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-02 Thread Senén de Diego
Hello, Thank you for your answer... Vincent Bray escribió: On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: I'm trying to redirect requests from "/foo/bar.jnlp" to "/foo/bar.php". Be careful using the word redirect as it has a very specific meaning. I've tried this .htaccess file: [

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-02 Thread Vincent Bray
On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: I'm trying to redirect requests from "/foo/bar.jnlp" to "/foo/bar.php". Be careful using the word redirect as it has a very specific meaning. I've tried this .htaccess file: [ Redirect permanent /foo/bar.jnlp http://www.domain.com/foo/ba

[EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-02 Thread Senén de Diego
Hello, I've already posted this question, but having had no answers, I'm trying again with a more suited Subject. I'm trying to redirect requests from "/foo/bar.jnlp" to "/foo/bar.php". I've tried this .htaccess file: [ Redirect permanent /foo/bar.jnlp http://www.domain.com/foo/bar.php ] I'v