version is VOS 5.0.12 snapshot from 20090928
As a side notice: the order of the rules is not clear from the gui, I'm
still wondering which one is executed first, I assume the last one from
the list??
When creating rules in Conductor in
Web Application Server>>Virtual Domains and Directorys >> URL-rewrite
I can create and save rules that are not valid as it seems (actually
they should be).
I created:
/OntoWiki/(.*)(\?.*)?$
>> /OntoWiki/index.php%s1
and:
/OntoWiki/(extensions|application|libraries)(.*).(js|ico|gif|jpg|png|css|php|swf)(\?.*)?$
>> /OntoWiki/%s1%s2.%s3%s4
Below is one more problem when creating vads, when exporting the rules:
Regards,
Sebastian, AKSW
2201B The URL matching pattern is an invalid REGEX.
00000 Errors detected
00000 Installation of "OntoWiki" was unsuccessful.
The installation of this VAD package has failed.
Please delete the transaction file
/opt/virtuoso-opensource-20090928/owdata/virtuoso.trx
and then restart your database server.
Note: Your database will be in its pre VAD installation state after you
restart.
00000 FATAL
<!-- copied out of conductur ui-->
<sql purpose="post-install"><![CDATA[
DB.DBA.VHOST_REMOVE (
lhost=>'*ini*',
vhost=>'*ini*',
lpath=>'/OntoWiki'
);
DB.DBA.VHOST_DEFINE (
lhost=>'*ini*',
vhost=>'*ini*',
lpath=>'/OntoWiki',
ppath=>'/vad/vsp/ontowiki/',
is_dav=>0,
def_page=>'index.php',
vsp_user=>'dba',
ses_vars=>0,
opts=>vector ('browse_sheet', '', 'url_rewrite', 'http_rule_list_2'),
is_default_host=>0
);
DB.DBA.URLREWRITE_CREATE_RULELIST (
'http_rule_list_2', 1,
vector ('http_rule_4', 'http_rule_5'));
DB.DBA.URLREWRITE_CREATE_REGEX_RULE (
'http_rule_4', 1,
'/OntoWiki/(.*)(\?.*)?$',
vector ('par_1', 'par_2'),
2,
'/OntoWiki/index.php%s',
vector ('par_2'),
NULL,
NULL,
0,
0,
''
);
DB.DBA.URLREWRITE_CREATE_REGEX_RULE (
'http_rule_5', 1,
'/OntoWiki/(extensions|application|libraries)(.*).(js|ico|gif|jpg|png|css|php|swf)(\?.*)?$',
vector ('par_1', 'par_2', 'par_3', 'par_4'),
4,
'/OntoWiki/%s%s.%s%s',
vector ('par_1', 'par_2', 'par_3', 'par_4'),
NULL,
NULL,
0,
0,
''
);
]]></sql>
--
Dipl. Inf. Sebastian Hellmann
Department of Computer Science, University of Leipzig
Homepage: http://bis.informatik.uni-leipzig.de/SebastianHellmann
Research Group: http://aksw.org