[ic] Disabling /admin -> /admin/login.html redirect

Mike Heins mike at perusion.com
Mon Jan 19 18:08:33 UTC 2009


Quoting Grant (emailgrant at gmail.com):
> >> I'd like to prevent example.com/admin from redirecting to
> >> example.com/admin/login.html because I don't want my admin login page
> >> to be so easy to find.  I think the best thing to do would be to
> >> change the admin folder name, but has anyone implemented a quick fix
> >> for this?  Maybe in apache?
> >>
> >> - Grant
> >
> >
> > Grant,
> >
> > One very simple approach is to just place an index.html page in the
> > pages/admin directory of your catalog.  IC will serve that page rather
> > than redirecting.
> >
> > Carl
> 
> Thanks Carl, not a bad idea at all, but I'd really like the standard
> IC catalog 404 page to be served for 'example.com/admin'.

Then put it at index.html. Or use mod_rewrite to route it elsewhere.
Or anything -- there are many solutions.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.328.4479  tollfree 800-949-1889 <mike at perusion.com>

An amateur practices until he gets it right. A pro
practices until he can't get it wrong. -- unknown



More information about the interchange-users mailing list