Glad I could help :)
Just make sure files inside your friend's directory are always readable by the 
web server. If James creates files on his own to which Cherokee doesn't have 
sufficient permissions, he's gonna be confused and frustrated...

Von meinem iPhone gesendet

Am 06.11.2012 um 17:49 schrieb Derwent Ready <[email protected]>:

> That worked perfectly! Thanks!
> 
> On 6 November 2012 16:41, Johannes Becker <[email protected]> wrote:
>> Why not just symlink that directory into your normal doc root as "james" 
>> with appropriate permissions? Then you don't even have to fiddle with fancy 
>> Cherokee settings as it won't even know the difference?
>> Johannes
>> 
>> Am 06.11.2012 um 17:33 schrieb Derwent Ready <[email protected]>:
>> 
>>> Thanks Stefan,
>>> 
>>> Should both the /home/pi/www and /home/james/www extension php rules be 
>>> next to each other?
>>> 
>>> This is what I have so far. 
>>> http://www.drentsoft.com/images/cherokeepi/rules.html It works except for 
>>> the /james PHP files being served as downloads rather than displayed. I 
>>> tried your suggestion of using just one general php rule with no doc root 
>>> specified but that didn't work either.
>>> 
>>> On 6 November 2012 13:58, Stefan de Konink <[email protected]> wrote:
>>>> On 11/06/12 13:10, Derwent Ready wrote:
>>>> > If I change the rule priority so his php rule is on top and final then
>>>> > his index.php is served at [host].no-ip.org <http://no-ip.org> but none
>>>> > of the other files in his directory are accessible (returning 404) and
>>>> > in /james the files return a 405. I can still access my non-index.php
>>>> > files in my directory.
>>>> 
>>>> The general PHP configuration in Cherokee:
>>>> 
>>>> - PHP should be on top, as extension php
>>>> - Match should be non-final.
>>>> 
>>>> Anything below that such as a list & send with a different docroot, or
>>>> default rule will profit from this.
>>>> 
>>>> 
>>>> Stefan
>>>> _______________________________________________
>>>> Cherokee mailing list
>>>> [email protected]
>>>> http://lists.octality.com/listinfo/cherokee
>>> 
>>> _______________________________________________
>>> Cherokee mailing list
>>> [email protected]
>>> http://lists.octality.com/listinfo/cherokee
> 
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to