[Mono-list] mod_mono virtual hosts with virtual directories
Andrew Arnott
AndrewArnott@byu.edu
Tue, 10 Aug 2004 15:46:28 -0600
This is a multi-part message in MIME format.
------=_NextPart_000_0063_01C47EF1.30A16C40
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
> > I have a .webapp file that describes a web site that I need to add a
> > virtual directory to. I am using the latest version of Apache. I
> > don't know how to use the XML format to get it to work.
> >
> >
> >
> > Here is my fhss.webapp file:
> >
> > <apps>
> >
> > <web-application>
> >
> > <name>History</name>
> >
> > <vhost>somehost.history.gov</vhost>
> >
> > <vport>80</vport>
> >
> > <vpath>/</vpath>
> >
> >
> > <path>/mnt/Novell/FHSS_Share/History/Web/Main</path>
> >
> > </web-application>
> >
> > </apps>
> >
> >
> >
> > This works well enough, but now I need to add a virtual directory,
> > called "faculty" to the web app. The faculty folder will be at a
> > totally different physical location on the hard disk on the server. I
> > need Mono to run the ASPX pages from there as if they belonged to the
> > root web app.
>
> I would add an Alias for /faculty that points to the physical directory
> and then a symbolic link in .....Web/Main called 'faculty' that points
> at the physical directory where all the faculty stuff is in. This way
> apache will find the files and mod-mono-server too and you don't need to
> enable following symbolic links in apache.
That might work, except that the web app is hosted on a Novell share that is
mounted in Linux. I can't create symbolic links on mounted Novell shares,
unless there is something I'm missing.
------=_NextPart_000_0063_01C47EF1.30A16C40
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJkTCCAxkw
ggKCoAMCAQICAwxX1zANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0EwHhcNMDQwNTE5M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