[Mono-bugs] [Bug 529492] New: Remove preceding "/" in the virtual path when packaging an asp.net app if it exists

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Aug 8 18:54:09 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=529492


           Summary: Remove preceding "/" in the virtual path when
                    packaging an asp.net app if it exists
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 0.3
          Platform: i586
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: twiest at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test


Description of Problem:
When you're packaging an asp.net app, one of the things to fill in under the
general tab is "virtual path". If the user adds a "/" to the beginning of their
virtual path, then the conf file will contain 2 "/"'s which will make apache
not work with what the user expects is the virtual path.

For instance, if the user enters "/blogengine" as the virtual path, then in the
asp.net apache conf file, it will say "//blogengine". Then if the user goes to
http://example.com/blogengine apache will say "permission denied"


Steps to reproduce the problem:
1. Create a new package using blogengine
2. Set the virtual path to /blogengine
3. install the rpm that was created
4. inspect the blog engine apache conf file
5. notice "//blogengine" in the apache conf file


Actual Results:
//blogengine


Expected Results:
we should trim one of the "/"'s so that even if they enter "/blogengine", their
conf file only says "/blogengine"


How often does this happen? 
every time

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list