Re: spyce + mod_python: file not found

"Jason Persampieri" <[email protected]> Tue, 8 Jan 2008 15:58:11 -0500
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
--===============0432064686==
Content-Type: multipart/alternative; 
	boundary="----=_Part_3875_18865107.1199825891911"

------=_Part_3875_18865107.1199825891911
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

As far as I can tell, the spyceconf.py file 'root' var is set correctly.

I eventually switched back to stand-alone mode and resolved the issue
there.  Basically, the RewriteRules I had copied into http.conf weren't
hitting.  And when I manually entered the port, Ajax calls would fail
(as-designed).  I eventually realized that the rules needed to be placed in
the VirtualDirectory sections directly.  It seems to be working well now.

_jason

On Jan 7, 2008 5:51 PM, Jonathan Ellis <[email protected]> wrote:

> Sorry, I don't have a server set up to toy with mod_python atm.  It
> really sounds like your config.py root is set to /html instead of
> /var/www/html.
>
> What is your issue in standalone mode?
>
> On Mon, 7 Jan 2008 16:40:38 -0500, "Jason Persampieri"
> <[email protected]> said:
> > I've been wavering between using Spyce as a standalone server vs as an
> > add-on to mod_python.  I've run in to issues with both.  This message
> > deals
> > with the mod_python.issue.
> >
> > When hosting a 'spy' file in my personal public_html directory, it works
> > fine.  However, when hosting the same file in the 'common' directory,
> the
> > file can't be found.
> >
> > Specifically,
> >
> >    - the file is at /var/www/html/group/temp/index.spy
> >    - the document root is set to /var/www/html in both http.conf and
> >    spyceconf.py
> >    - I browse to http://server/group/temp/index.spy
> >
> > The output displayed in my browser is a single line of text
> > "/html/group/temp/index.spy not found"  (note the odd additional '/html'
> > at
> > the front).
> >
> > I assume I did something stupid, but I'm pulling my hair out to figure
> > out
> > what.  Any ideas?
> >
> > _jason
>

------=_Part_3875_18865107.1199825891911
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

As far as I can tell, the spyceconf.py file &#39;root&#39; var is set correctly.<br><br>I eventually switched back to stand-alone mode and resolved the issue there.&nbsp; Basically, the RewriteRules I had copied into http.conf weren&#39;t hitting.&nbsp; And when I manually entered the port, Ajax calls would fail (as-designed).&nbsp; I eventually realized that the rules needed to be placed in the VirtualDirectory sections directly.&nbsp; It seems to be working well now.
<br><br>_jason<br><br><div class="gmail_quote">On Jan 7, 2008 5:51 PM, Jonathan Ellis &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry, I don&#39;t have a server set up to toy with mod_python atm. &nbsp;It<br>really sounds like your config.py root is set to /html instead of<br>/var/www/html.<br><br>What is your issue in standalone mode?<br><div><div></div>
<div class="Wj3C7c"><br>On Mon, 7 Jan 2008 16:40:38 -0500, &quot;Jason Persampieri&quot;<br>&lt;<a href="mailto:[email protected]">[email protected]</a>&gt; said:<br>&gt; I&#39;ve been wavering between using Spyce as a standalone server vs as an
<br>&gt; add-on to mod_python. &nbsp;I&#39;ve run in to issues with both. &nbsp;This message<br>&gt; deals<br>&gt; with the mod_python.issue.<br>&gt;<br>&gt; When hosting a &#39;spy&#39; file in my personal public_html directory, it works
<br>&gt; fine. &nbsp;However, when hosting the same file in the &#39;common&#39; directory, the<br>&gt; file can&#39;t be found.<br>&gt;<br>&gt; Specifically,<br>&gt;<br>&gt; &nbsp; &nbsp;- the file is at /var/www/html/group/temp/index.spy
<br>&gt; &nbsp; &nbsp;- the document root is set to /var/www/html in both http.conf and<br>&gt; &nbsp; &nbsp;spyceconf.py<br>&gt; &nbsp; &nbsp;- I browse to <a href="http://server/group/temp/index.spy" target="_blank">http://server/group/temp/index.spy
</a><br>&gt;<br>&gt; The output displayed in my browser is a single line of text<br>&gt; &quot;/html/group/temp/index.spy not found&quot; &nbsp;(note the odd additional &#39;/html&#39;<br>&gt; at<br>&gt; the front).<br>&gt;<br>
&gt; I assume I did something stupid, but I&#39;m pulling my hair out to figure<br>&gt; out<br>&gt; what. &nbsp;Any ideas?<br>&gt;<br>&gt; _jason<br></div></div></blockquote></div><br>

------=_Part_3875_18865107.1199825891911--


--===============0432064686==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
--===============0432064686==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Spyce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spyce-users

--===============0432064686==--