IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

fix rewrite to handle error; add trailing slash to ScriptAlias

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.