On Wed, Mar 3, 2010 at 4:00 AM, Michiel van Es <[email protected]>wrote:

>
> [r...@pcintelw01 root]# ls
> App_Code         Default.aspx     services
> vssver2.scc
> App_Data         Default.aspx.cs  Test.aspx                      Web.config
> aspnet_client    deploy.cmd       Test.aspx.cs                   xml
> Bin              Global.asax      testpage.htm
> crossdomain.xml  images           TrafficSummaryControl.ascx
> css              script           TrafficSummaryControl.ascx.cs
>

Your primary issue can be seen on line 16 and then lines 56-61 of
http://svn.cherokee-project.com/browser/cherokee/trunk/admin/Wizard_Mono.py

http://svn.cherokee-project.com/browser/cherokee/trunk/admin/Wizard_Mono.py#L16
http://svn.cherokee-project.com/browser/cherokee/trunk/admin/Wizard_Mono.py#L56

Because your dealing with a case sensitive file system, default.aspx (what
it's looking for) and Default.aspx (the name of the file in your directory)
are seen as different and therefore throws the error specified on line 16.
As far as the Python standard lib is concerned
http://docs.python.org/library/os.path.html should help in finding a proper
long term solution to dealing with case sensitive and insensitive file
systems as if they were the same.


> I try to use the wizard but don't know what to put at the Document Root
> and what at the Project Directory.
>

I'm not sure why this particular format was chosen, but my guess is that
this was one way of separating what was handled by Mono (Project Directory)
and what was handled directly by Cherokee (the Document Root). Can someone
clarify?  And if yes I would personally recommend moving away from this
method as this is a non-standard way to deploy an ASP.NET application
(especially those that have been packaged into zip files and deployed as one
file to the server, something Mono now supports) which I'm guessing is the
cause for confusion for Michiel.

I get an error no mather what Ifill in at the Project Directory folder:
>
> /var/www/kpn_locatienet_com: Directory doesn't look like a Mono based
> project.
>

That's because of the same reason mentioned above except this time it's the
fact that the neither index.aspx or default.aspx, regardless of case, exist
in that folder.


>
> /var/www/kpn_locatienet_com/root: Directory doesn't look like a Mono
> based project.
>

This is the case sensitivity issue mentioned above.


> How can I fire up my aspx website in cherokee? :)
>

Does anyone have any issues we me rewriting the Mono_Wizard.py to use the
method mentioned above and/or write a second Wizard and provide both methods
as an option?

-- 
/M:D

M. David Peterson
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: [email protected] | [email protected]
Mobile: (206) 999-0588
http://3rdandUrban.com | http://amp.fm |
http://www.oreillynet.com/pub/au/2354 |
http://broadcast.oreilly.com/m-david-peterson/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to