Re: Redirect, Rewrite and php.ini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/07/07, Senén de Diego <senen@xxxxxxxxxxxxx> 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 where I get an 500 error, but cases where
I don't. For instance if
/.htaccess is the wrong file, I get an error when I request:
http://www.electrodh.com/index.html
but I don't get any if i request:
http://www.electrodh.com/robots.txt
(which, by the way, should be hidden).

That means that the .htaccess is not always used. And according to both
examples it isn't used when I request a .jnpl or a .txt file. Could it be?

Unless it's something silly like a caching issue, I really couldn't
say. There's no reason in a normal apache config that .htaccess would
be ignored for some file requests and not others, aside from things
like Aliases and ProxyPass. But assuming the files you are requesting
are all in the same directory, I'm stumped. Make sure it's not a
caching issue by reloading each time with your browser rather than
just refreshing (how you do this depends on the browser).

--
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux