What is your HTTP App Server root set to and what is the URI of the cq modules in the modules database?
Make sure your HTTP Server (the one you are running cq on) has a root with a URI that allows you to access cq. For example, if the cq directory is stored in the Modules database at the URI /modules/cq/, then you can have a root for the http server of /modules/. Then, if the HTTP server is on port 1234, http://localhost:1234/cq should get you to cq. -Danny -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Florent Georges Sent: Friday, March 06, 2009 8:17 AM To: General Mark Logic Developer Discussion; Geert Josten Subject: Re: [MarkLogic Dev General] Edit library modules through WebDAV? Geert Josten wrote: > Why not upload the CQ files through WEBDAV just like the > other modules? But you must do so with a WEBDAV server > connected to the Modules database. Alternatively, just create > a dedicated HTTP server for CQ. That's what I tried. But I would have made something wrong, as this does not work. I created the following servers: - HTTP: database=Modules, modules=Modules - WebDAV: database=Modules - XDBC: database=Modules, modules=Modules I uploaded CQ via this WebDAV server (I created a directory /cq/ and copied all files within there.) Then I tried to access the HTTP server at http://localhost:<port>/cq/, and I got a "404 Not Found". > I personally prefer using xdmp:eval that does > document-inserts, setting the database-id option to the one > of the modules database using either xdmp:modules-database() > or xdmp:database('Modules') (note that the last two function > calls don't have the same meaning).. Would you have a concrete sample doing so? Thanks for your perseverence... -- Florent Georges http://www.fgeorges.org/ _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
