Sites.cnf

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Sites.cnf

Daniel Fréchette
Hello,

I want to move the web files (.html, .js, .css, .xml, .xsl, etc.) out of the image directory to another location on my server. How do I specify that in the sites.cnf file?

The current path to the image directory is: "D:\vw7.3nc\image\"
The current path to the web files directory is: "D:\vw7.3nc\image\dmsx"

I want to move the
dmsx directory to drive H: with all of my other work.

Here is the current content of the sites.cnf file:
        === file start ===
<Site>
    <SiteIdentifier ip: '192.168.0.101' port: 8008 host: '*'>
    <SiteIdentifier ip: '127.0.0.1'     port: 8008 host: 'localhost'>
    <CompositeResource uriPattern: '/'>
        <CompositeResource uriPattern: 'dmsx'>
            <DMScAdminDispatcher uriPattern: 'dmsXDispatch'>
        </CompositeResource>
    </CompositeResource>
    <FileResource uriPattern: '/' filePath: '.'>
</Site>
        === file end ===

Thank you.
Daniel
Reply | Threaded
Open this post in threaded view
|

Re: Sites.cnf

Daniel Fréchette
Well, I fiddled with the sites.cnf file and discovered what I was looking for. I changed the line
    <FileResource uriPattern: '/' filePath: '.'>
to
   
<FileResource uriPattern: '/' filePath: 'h:'>,
restarted Swazoo and it worked!

Thank you anyway,
Daniel


Daniel Fréchette wrote:
Hello,

I want to move the web files (.html, .js, .css, .xml, .xsl, etc.) out of the image directory to another location on my server. How do I specify that in the sites.cnf file?

The current path to the image directory is: "D:\vw7.3nc\image\"
The current path to the web files directory is: "D:\vw7.3nc\image\dmsx"

I want to move the
dmsx directory to drive H: with all of my other work.

Here is the current content of the sites.cnf file:
        === file start ===
<Site>
    <SiteIdentifier ip: '192.168.0.101' port: 8008 host: '*'>
    <SiteIdentifier ip: '127.0.0.1'     port: 8008 host: 'localhost'>
    <CompositeResource uriPattern: '/'>
        <CompositeResource uriPattern: 'dmsx'>
            <DMScAdminDispatcher uriPattern: 'dmsXDispatch'>
        </CompositeResource>
    </CompositeResource>
    <FileResource uriPattern: '/' filePath: '.'>
</Site>
        === file end ===

Thank you.
Daniel