Afficher un message
Vieux 28/09/2006, 12h11   #1
Leif K-Brooks
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: redirect to a php file from htaccess

Nospam wrote:
> I have a redirect in my htaccess to a php file, however I am trying to see
> if the redirect works from css, by this code
> body{background-image:url(http://www.example.com/redirect1.html); should
> redirect to
>
> (http://www.example.com/redirect1.php); but for some strange reason doesn't
> work in the css, does anyone know what is wrong?


Is http://www.example.com/redirect1.php an image, or is it an HTML page?

If it's an image, it should become the page's background image. If it's
just an HTML page, as I suspect it is, then the browser will try to use
it as a background image but fail.
  Réponse avec citation
 
Page generated in 0,04962 seconds with 9 queries