<div dir="ltr">Lonnie,<div><br></div><div>I can't reproduce your error. I'm not running Fedora, but RHEL7 and Debian work as expected with what you have. </div><div><br></div><div>Told you I hate this error. It is just so ... "Windows-like" (i.e., non-helpful).</div><div><br></div><div><br></div><div>David-</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 2:16 PM, Lonni J Friedman <span dir="ltr"><<a href="mailto:netllama@gmail.com" target="_blank">netllama@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Wow, thanks James for going through this much effort. I applied the<br>
changes that you listed for userdir.conf, but I'm still getting the<br>
same error as originally. At this point, I have no clue wtf is going<br>
on here. It should work, but the error is so useless that I can't<br>
debug this effectively.<br>
<br>
On Fri, Oct 10, 2014 at 10:33 PM, James McDonald<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:james@jamesmcdonald.id.au">james@jamesmcdonald.id.au</a>> wrote:<br>
> OK this got me so annoyed I installed F20 and then disabling selinux and<br>
> installing httpd and wsgi just using the m.py I have it working with the<br>
> following in userdir.conf (making sure ~/public_html/* is owned by the user<br>
> and m.py is +x<br>
><br>
><br>
> # contents of userdir.conf<br>
><br>
> <IfModule mod_userdir.c><br>
> #<br>
> # UserDir is disabled by default since it can confirm the presence<br>
> # of a username on the system (depending on home directory<br>
> # permissions).<br>
> #<br>
> UserDir public_html<br>
><br>
> #<br>
> # To enable requests to /~user/ to serve the user's public_html<br>
> # directory, remove the "UserDir disabled" line above, and uncomment<br>
> # the following line instead:<br>
> #<br>
> #UserDir public_html<br>
> </IfModule><br>
><br>
> #<br>
> # Control access to UserDir directories. The following is an example<br>
> # for a site where these directories are restricted to read-only.<br>
> #<br>
> <Directory "/home/*/public_html"><br>
> AllowOverride FileInfo AuthConfig Limit Indexes<br>
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec<br>
> Require method GET POST OPTIONS<br>
> </Directory><br>
> <Directory "/home/*/public_html/cgi-bin"><br>
> AllowOverride All<br>
> Options ExecCGI<br>
> SetHandler cgi-script<br>
> </Directory><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On 11 October 2014 08:35, Lonni J Friedman <<a href="mailto:netllama@gmail.com">netllama@gmail.com</a>> wrote:<br>
>><br>
>> On Fri, Oct 10, 2014 at 2:32 PM, James McDonald<br>
>> <<a href="mailto:james@jamesmcdonald.id.au">james@jamesmcdonald.id.au</a>> wrote:<br>
>> > Had to trim reply's this thread is greater than > 40KB.<br>
>> ><br>
>> > Have you tried piping the environment that suexec / apache is passing to<br>
>> > the<br>
>> > m.py to a file and having a look?<br>
>> ><br>
>> > e.g. env | /tmp/myout or something pythonesque?<br>
>> ><br>
>> > Can you do that with STDERR too?<br>
>><br>
>> I can do that when running the script out of /var/www/cgi-bin, but<br>
>> there's nothing unusual there.<br>
>><br>
>> ><br>
>> > May give you a hint.<br>
>> ><br>
>> > And is your netlama UID > 500?<br>
>><br>
>> 1000<br>
>><br>
<br>
<br>
<br>
--<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
L. Friedman <a href="mailto:netllama@gmail.com">netllama@gmail.com</a><br>
LlamaLand <a href="http://netllama.linux-sxs.org" target="_blank">http://netllama.linux-sxs.org</a><br>
_______________________________________________<br>
Linux-users mailing list<br>
<a href="mailto:Linux-users@linux-sxs.org">Linux-users@linux-sxs.org</a><br>
<a href="http://mailman.celestial.com/mailman/listinfo/linux-users" target="_blank">http://mailman.celestial.com/mailman/listinfo/linux-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe. -- Albert Einstein<br>Visit my web page at: <a href="http://david.bandel.us/" target="_blank">http://david.bandel.us/</a>
</div>