Bonjour,
Je suis ne train d'essayer des interface web pour discuter sur mes salon jabber, mais un détail m'en empêche. Le script a besoin d'une réécriture d'url:
Pour que le javascript pointe sur une adresse locale si j'ai tout bien compris.First let me explain, what we need to do and why: Due to security
considerations most browsers don't allow JavaScript to access any
data outside the domain it has been loaded from. Gecko based
browsers are even more restrictive in this as they don't allow
them to access data on a different port either.
Il est donc indiqué d'écrire une réécriture comme suit:
Ce que j'ai donc fait. Mais l'url ne semble pas interprété (trace firebug):
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 <IfModule mod_rewrite.c> RewriteEngine On RewriteRule http-poll/ http://jabber.somedomain.com:5280/http-poll/ [P] </IfModule>
Code : Sélectionner tout - Visualiser dans une fenêtre à part http://localhost/http-poll/Les fichiers .htaccess sont bien pris en compte, et le module de réécriture est activé. Ca vous dit quelque chose ?<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /http-poll/ was not found on this server.</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at localhost Port 80</address>
</body></html>
=)
Partager