<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I get this<br>
<br>
<br>
# grep loginForm main.js<br>
if( $('#loginForm').length > 0 ) return false;<br>
var loginForm = $('<form>', { id: 'loginForm',
'method':'post', 'action': window.location.protocol + '//' +
window.location.host });<br>
loginForm.append(un_label, uname, pw_label, password,
login);<br>
$('#container').prepend(loginForm);<br>
$(loginForm).after(<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 12/11/2012 10:29 AM, Jules wrote:<br>
</div>
<blockquote cite="mid:50C6FCE5.6000505@Zend.To" type="cite">
<pre wrap="">If you do this
cd /opt/zendto/www/js
grep loginForm main.js
do you get a line output (among others) that says this:
var loginForm = $('<form>', { id: 'loginForm', 'method':'post',
'action': '.' });
?
If so, it should redirect back to the ZendTo homepage and not the
DocumentRoot of the virtualhost.
Jules.
On 11/12/2012 08:50, Frank Bonnet wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello again
Now the authentication seems OK but after being authenticated
the browser is redirected to the documentroot of the apache server
instead of zendto homepage ...
_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a>
Jules
--
Julian Field MEng MBCS CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Fair Isle: North or northwest 4 or 5. Moderate, occasionally rough at first.
Wintry showers. Good, occasionally poor.
</pre>
</blockquote>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="signature_lb_fichiers/filelist.xml">
<title>CYBERDROID Inc.</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Groupe ESIEE</o:Author>
<o:LastAuthor>Groupe ESIEE</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>25</o:TotalTime>
<o:Created>2010-09-16T14:06:00Z</o:Created>
<o:LastSaved>2010-09-16T14:06:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>32</o:Words>
<o:Characters>178</o:Characters>
<o:Company>CCIP</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>209</o:CharactersWithSpaces>
<o:Version>11.9999</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
<w:LsdException Locked="true" Name="Normal"/>
<w:LsdException Locked="true" Name="heading 1"/>
<w:LsdException Locked="true" Name="heading 2"/>
<w:LsdException Locked="true" Name="heading 3"/>
<w:LsdException Locked="true" Name="heading 4"/>
<w:LsdException Locked="true" Name="heading 5"/>
<w:LsdException Locked="true" Name="heading 6"/>
<w:LsdException Locked="true" Name="heading 7"/>
<w:LsdException Locked="true" Name="heading 8"/>
<w:LsdException Locked="true" Name="heading 9"/>
<w:LsdException Locked="true" Name="toc 1"/>
<w:LsdException Locked="true" Name="toc 2"/>
<w:LsdException Locked="true" Name="toc 3"/>
<w:LsdException Locked="true" Name="toc 4"/>
<w:LsdException Locked="true" Name="toc 5"/>
<w:LsdException Locked="true" Name="toc 6"/>
<w:LsdException Locked="true" Name="toc 7"/>
<w:LsdException Locked="true" Name="toc 8"/>
<w:LsdException Locked="true" Name="toc 9"/>
<w:LsdException Locked="true" Name="caption"/>
<w:LsdException Locked="true" Name="Title"/>
<w:LsdException Locked="true" Name="Subtitle"/>
<w:LsdException Locked="true" Name="Strong"/>
<w:LsdException Locked="true" Name="Emphasis"/>
<w:LsdException Locked="true" Name="Table Grid"/>
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:536871559 0 0 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.grame
        {mso-style-name:grame;
        font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Tableau Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" style="width:232.5pt;
mso-cellspacing:1.5pt;mso-padding-alt:0cm 0cm 0cm 0cm"
border="0" cellpadding="0" width="310">
<tbody>
<tr
style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes">
<td style="background:#F0F0F0;padding:.75pt .75pt .75pt
.75pt">
<p class="MsoNormal"><span
style="font-size:7.5pt;font-family:Verdana">Frank
BONNET<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:7.5pt;font-family:Verdana">01.45.92.66.17<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:7.5pt;font-family:Verdana">Service
des Moyens Informatiques Generaux<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:7.5pt;font-family:Verdana">ESIEE
PARIS<br>
Cité Descartes / BP 99<br>
93162 NOISY-LE-GRAND Cedex<br>
</span><a href="http://www.esiee.fr/"><span
style="font-size:7.5pt; font-family:Verdana">http://www.esiee.fr</span></a><span
style="font-size: 7.5pt;font-family:Verdana"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>