/phalanger (in apache) config, seems must start with that .

Discussion about the open-source Phalanger [?] project.

Re: /phalanger (in apache) config, seems must start with th

Postby Jakub Misek » September 2nd, 2012, 11:19 am

tleslie wrote:this is occurring on linux/mono environment,
with mod_mono
Thanks, we will check it. It is common case Mono and .NET differs in little details, mostly it's easy to fix.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: /phalanger (in apache) config, seems must start with th

Postby thesquiffy » November 26th, 2012, 2:17 pm

Hi,

I'm trying to get phalanger working on mono/ubuntu, and I ran into same problem.

I noticed that script installer (which is a bit buggy :? ) appends
<add path="*.php" verb="*" type="PHP.Core.RequestHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71"/>
just before the closing </httphandlers> in /etc/mono/4.0/web.config

this causes the rule to be never catched, and browsing any php file gives you the download instead of parsing/processing. Moving that line just before the default handler:
<add path="*" verb="GET,HEAD,POST" type="System.Web.DefaultHttpHandler" validate="True"/>

causes the error, .... so at least it seems to invoke phalanger.

Any clue?

thank you!

EDIT: I forgot to mention: here I'm using mod_mono, and any aspx page works correctly
thesquiffy
 
Posts: 1
Joined: November 26th, 2012, 2:08 pm

Previous

Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 19 guests

cron

User Control Panel

Login

Who is online

In total there are 19 users online :: 0 registered, 0 hidden and 19 guests (based on users active over the past 5 minutes)
Most users ever online was 330 on April 19th, 2024, 1:35 am

Users browsing this forum: No registered users and 19 guests