IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43041


Ignore:
Timestamp:
Jun 1, 2026, 9:52:37 AM (6 weeks ago)
Author:
eugene
Message:

fix rewrite to handle error; add trailing slash to ScriptAlias

Location:
branches/eam_branches/ipp-pstamp-20260421/DataStoreServer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/DataStoreServer/example/commands.sh

    r42993 r43041  
    1 dsprodtool --add mytest2 --type sample --description quick
    2 dsreg --add myfs --product mytest --type dump --list fs_example.txt --datapath . --copy
     1dsprodtool --add mytest --type ipp-misc --description quick
     2dsreg --add myfs --product mytest --type PSREQUEST --list fs_example.txt --datapath . --copy
  • branches/eam_branches/ipp-pstamp-20260421/DataStoreServer/web/conf/ubuntu-datastore.conf

    r42985 r43041  
    1111    DocumentRoot "/var/www/html"
    1212
    13     Alias       /ds     /data/MYHOST.0/datastore/dsroot/
    14     ScriptAlias /ds-cgi /data/MYHOST.0/datastore/ds-cgi/
     13    Alias       /ds      /data/MYHOST.0/datastore/dsroot/
     14    ScriptAlias /ds-cgi/ /data/MYHOST.0/datastore/ds-cgi/
    1515
    1616    # ensure requests like http://datastore/foo/bar become http://datastore/ds/foo/bar
     
    1919    RewriteCond %{REQUEST_URI} !^/ds(/|$)
    2020    RewriteCond %{REQUEST_URI} !^/ds-cgi(/|$)
     21    RewriteCond %{REQUEST_URI} !^/error(/|$)
    2122    RewriteRule ^/(.*)$ /ds/$1 [R=301,L]
    2223
Note: See TracChangeset for help on using the changeset viewer.