RE: [users@httpd] Permission to access on my website!

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

 



Hi all,

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.+Media\sCenter.*$

RewriteRule ^/pages/generic_error/file_notfound\.html$
http://static.rossoalice.virgilio.it/pages/generic_error/mce/file_notfou
nd.html [R=temp,L]

In this way I redirect my error page when the client is a media center,
and all works fine!
But if I would catch any html page within pages/generic_error and
redirect towards the corresponding html file in pages/generic_error/mce
I should use  (I think) the following RewriteRule:

RewriteRule ^/pages/generic_error/(.*)\.html$
http://static.rossoalice.virgilio.it/pages/generic_error/mce/$1.html
[R=temp,L]

But it doesn't works!!!!!!!!!!!!!! And the error is something like this:

redirection number limiti reached. It's not possible load the page.
(from italian, im sorry :( )

I don't understand. Somebody can help me?

Tnx,
Luca

---------------------------------------------------------------------
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