On 25 March 2013 12:43, Waldek Hebisch <[email protected]> wrote:
> Bill Page wrote:
>> ...
>> Do you think I should correct these links to the new URL format where
>> I am able  or are you planning to change the webserver configuration
>> to get rid of mathaction in the name?
>
> In general I prefer when links go directly to destination.

Yes in general I agree except that in this case I think it is better
to use Apache as a front-end web server and only access the Zope
webserver by proxy.  It is possible to use Apache to improve the
overall efficiency for accessing static content that is stored in the
file system such at the 'public' directory and the 'images' directory.
 And using up to date versions of Apache is a good way to defend
against known exploits. It is hard to do this with Zope alone.

> In this
> case I am not sure what is best way to resolve this problem.
> I could probably add redirects from http://axiom-wiki.newsynthesis.org/*
> to http://axiom-wiki.newsynthesis.org/mathaction/* (currently there
> is only redirect for the front page).

I don't think re-directs are a good idea.  Instead the name issue can
be handled by the proper proxy configuration of the Apache front-end.
I have sent attached to another email the Apache configuration files
that I used at the University of Washington and also on my own local
version of mathaction.  I would be glad to explain how this works in
more detail but perhaps we should do so off the fricas list? Unless
someone else here is interested in this setup.

> Currently in the server
> log I see about 30-40% references to pages without 'mathaction'.
> I am not sure what is origin of those references.  They came
> from search engines, but since search engines do not disclose
> referer I do not know were/how they found links.  And targets
> look strange, for example:
>
> /AxiomTutorial/backlinks
> /AxiomTutorial/subscribeform
>
> I wonder why normal people would link to such pages?  In the log
> I see more that 9000 unique URL-s of similar form.

You are right that these are likely from some undisciplined search
engine.  In some (but on all) cases the ZWiki software attempts to
hide these sort of links from the search engines.  Perhaps a better
robot.txt might help in some cases but there are many search engines
and spiders who are not good web citizens.

> If they were
> real links the only resonable solution would be add apropriate
> redirects.

No. I think redirects are not necessary in order to get rid of
'mathaction' in the wiki url.

> However, they may be due to some misconfiguration
> in the wiki.
>

Search engines that make requests including

   .../backlinks
   .../subscribeform

could be because the wiki software does not successfully hide these
links from the crawlers.  But the abscence of 'mathaction' in these
URLs is because they were originally harvested from the version of
mathaction that was running at the University of Washington.

> Redirects slow down access so it would be better if visitors
> came via direct links.  I tried to use transparent rewrite
> rules for front page, but that gave me broken page (some
> strange corruption and wrong links).
>

See the Apache vhost.d configuration files that I just sent you in
another email.

> Also, remaping logic of sort X/* -> X/Y/* is getting
> unnatural when '*' may match 'Y'.  In such case it
> would probably be better to use rewrite of sort
> 'X/*' -> 'Z/Y/*'.   In other words redirect _all_
> axiom-wiki traffic to another virtual host.
>

All that is required is the use of proxy in Apache and the virtual
host support within Zope.

Regards,
Bill Page.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to