[ic] url and page rankings

Peter peter at pajamian.dhs.org
Fri Nov 11 23:17:31 UTC 2016


On 12/11/16 08:20, David_e at charter.net wrote:
> Can someone guide me in how to make this page link:
> http://huldaclarkparazapper.com/cgi-bin/cart.cgi/CC2.html
>  
> show up as this page http://huldaclarkparazapper.com/CC2.html

Assuming standard Apache / vlink setup:

In your apache virtual container config(s):

# For redirecting old links to the new.
RedirectPermanent /cgi-bin/cart.cgi/ http://www.example.com/


# You need to specify static content directories or Apache will try to
fetch it through IC.
Alias /images/ /path/to/images/directory/
Alias /css/ /path/to/css/directory/
...etc for any static content you have

# This is the actual magic that makes it work.
ScriptAlias / /path/to/vlink/ # (yes the trailing / here is important)


...In interchange.cfg:

FullURL 1

At this point restart apache and interchange, then browse to the site,
you'll get invalid catalog errors showing new path aliases for each of
your catalogs.  Add these paths as aliases to the end of the relevant
Catalog lines.  Restart IC again and it should work.


Peter



More information about the interchange-users mailing list