Hi Bill,

Specifically you need to create a Virtual Directory mapping to your admin2 file system directory, which can be done either from Virtuoso Conductor interface as follows:

1. Go to "Web Application Server" tab and then go to the "Virtual Domains & Directories" tab. 2. From the given list of HTTP Hosts click the icon in front of the Interface value.
   3. Click the "Add new directory" link.
   4.Choose the "File System" type and press the button "Next"
5. Enter "/admin2" for Path, Enter /admin2 for Physical Path and index.vsp ( or whatever your vsp file is called) for the Default page if required, leave other fields as is and then press the "Save Changes" button.

You should then be able to access your VSP page successfully form the URL http://hostname:portno/admin2 or http://hostname:portno/admin2/ index.vsp

Further details on this can be obtained from the following Tutorial:

        http://demo.openlinksw.com/tutorial/web/vs_b_1/vs_b_1.vsp

With further details on Virtuoso Web development also available from:

        http://docs.openlinksw.com/virtuoso/webappdevelopment.html

Best Regards
Hugh Williams
Professional Services
OpenLink Software

On 16 Jul 2008, at 00:58, Hugh Williams wrote:

Hi Bill,

Have you reviewed the online Virtuoso tutorials, as their are specific tutorials on VSP and VSPX programming, amongst many others Virtuoso features available at:

        http://demo.openlinksw.com/tutorial/web/

Please review these tutorials which would server as your best source for getting started in developing applications with Virtuoso ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software

On 16 Jul 2008, at 00:06, Bill Kudrle wrote:

I am somewhat of a newbee to VOS, but not to programming and development. I am really amazed that there is such a product and so little buzz about it yet. Hopefully, as the Semantic Web takes off then more people will discover this platform, as it certainly fills the bill for so many capabilities.

My question concerns the basics of getting started in development. So for example, I wanted to write the equivalent of a "Hello World" for the VOS that uses the vsp language. I have successfully installed VOS and most of ODS on Gentoo Linux with the defaults. So the VOS files reside in /usr/local/virtuoso-opensource. Since the home page seems to run from this directory: /usr/loca/virtuoso- opensource/var/lib/virtuoso/vsp , I created some hello world files in the directory. I can run straight HTML from the directory without any problem. And in the HTML file, I can include the index_left.vsp or my own vsp file (as an iframe) if I have the included files in the admin sub-directory. But if I try to create another sub-directory (e.g., admin2) and include a vsp file or if I try to include a vsp file in the home directory (not in the admin subdirectory), then I get an error "The requested active content cannot be displayed due to execution restriction". Obviously this is a permissions issue, but I could not find anything fruitful in the documentation on ACL or anywhere else and so was wondering if anyone could point me in the right direction on how to set up permissions and/or how to go about creating a simple "Hello World" program that will execute some vsp code in it.

Thanks in advance for any reply.
--------------------------------------------------------------------- ---- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users



Reply via email to