Page 1 of 1

The Virtual Verduria Feedback Thread

Posted: Mon Jul 30, 2018 7:47 am
by Frislander
I'm just gonna start this thread as a place to post minor feedback on the Virtual Verduria website and the Almeopedia. This is mainly intended to be focused on technical issues and other related matter rather than the content of the websites themselves (i.e. this isn't intended to be n Almea discussion thread).

First thing I'd noticed is that the image for the dialect map in the Xurnese grammar is broken.

Re: The Virtual Verduria Feedback Thread

Posted: Wed Aug 01, 2018 3:06 pm
by Ares Land
Good idea!
The images on this page: http://www.zompist.com/almea.htm are broken too, and so are the links on this page: http://www.zompist.com/beliefs.htm

Also http://www.almeopedia.com still redirects to http://www.almeopedia.com/Main_Page instead of http://www.almeopedia.com/almeo.html.

Re: The Virtual Verduria Feedback Thread

Posted: Thu Aug 02, 2018 9:45 am
by zompist
OK, these should be done except for the rewrite rule.

Does anyone speak .htaccess? This is what I have now:

Options +FollowSymLinks
RewriteEngine on
# Special handling for search strings
# RewriteRule ^Special:Search(.*)$ almeopedia/mediawiki/index.php$1 [L]

# Everything else
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(almeopedia/skins|stylesheets|images|config)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteRule ^(.*)$ almeopedia/mediawiki/index.php?title=$1 [L,QSA]


Obviously anything with "mediawiki" is wrong, but I'm not sure what the correct lines should be.

Re: The Virtual Verduria Feedback Thread

Posted: Thu Aug 02, 2018 4:28 pm
by Ares Land
zompist wrote: Thu Aug 02, 2018 9:45 am OK, these should be done except for the rewrite rule.

Does anyone speak .htaccess? This is what I have now:

Options +FollowSymLinks
RewriteEngine on
# Special handling for search strings
# RewriteRule ^Special:Search(.*)$ almeopedia/mediawiki/index.php$1 [L]

# Everything else
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(almeopedia/skins|stylesheets|images|config)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteRule ^(.*)$ almeopedia/mediawiki/index.php?title=$1 [L,QSA]


Obviously anything with "mediawiki" is wrong, but I'm not sure what the correct lines should be.
Sure; try this:
Options +FollowSymLinks
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ almeo.html?title=$1 [L,QSA]


This will rewrite any call to almeopedia.com/PageName to almeopedia.com/almeo.html?PageName.
For instance, with these rules www.almeopedia.com/Xurno will actually call www.almeopedia.com/almeo.html?Xurno

Maybe you want to do a redirect instead of a rewrite. In this case, replace the last line with:
RewriteRule ^(.*)$ almeo.html?title=$1 [R=301,L,QSA]

I don't think you need these rules anymore:

RewriteCond %{REQUEST_URI} !^/(almeopedia/skins|stylesheets|images|config)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php


I believe those handle Mediawiki stylesheets and special config pages.

(EDIT: I've got no idea what those new syntax tools actually do but they sure look fun!)

Re: The Virtual Verduria Feedback Thread

Posted: Sat Aug 04, 2018 3:42 am
by So Haleza Grise
For some reason, the succession box for Verdurian kings doesn't link to the correct articles in some cases - Caloton from the
Boďomor Kušďey article for example, or Estdorot from the Ževuran article.

Re: The Virtual Verduria Feedback Thread

Posted: Sat Aug 04, 2018 4:06 pm
by zompist
Thanks, Are Lande! Sadly, though, it doesn't work. Any request just goes to the main page. Any idea what might be going wrong?

Re: The Virtual Verduria Feedback Thread

Posted: Sat Aug 04, 2018 4:51 pm
by Ares Land
zompist wrote: Sat Aug 04, 2018 4:06 pm Thanks, Are Lande! Sadly, though, it doesn't work. Any request just goes to the main page. Any idea what might be going wrong?
Ah, yes. I think you need a redirect instead, and besides the query string was wrong.
So the correct rule should be: (crossing fingers that I don't mess up this time)

RewriteRule ^(.*)$ almeo.html?$1 [R=301,L,QSA]

If I understood correctly how the Almeopedia works, everything is done client-side, so the browser needs to see the actual query string.

R=301 tells the browser to redirect to almeo.html?PageName. Without that flag, Apache acts as a reverse proxy: you call almeopedia.com/PageName and Apache returns the HTML response for almeopedia.com/almeo.html?PageName. Unfortunately, the client-side code will see almeopedia.com/PageName, and it won't know what to do with that.

Re: The Virtual Verduria Feedback Thread

Posted: Sun Aug 05, 2018 10:51 am
by Ares Land
Looks like it loops now. Crap. I think we need an extra condition:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^.*.html
RewriteRule ^(.*)$ almeo.html?$1 [R=301,L,QSA]


(Sorry about the back-and-forth. Apache is powerful, and also awfully counter-intuitive).

Re: The Virtual Verduria Feedback Thread

Posted: Sun Aug 05, 2018 2:56 pm
by zompist
That fixed the loop, but tried to go to the wrong page.

But I fixed the original problem anyway, by making an index.html that redirects to almeo.html.

I do appreciate the help— I never learned how to do .htaccess.

Re: The Virtual Verduria Feedback Thread

Posted: Sun Aug 05, 2018 5:09 pm
by Ares Land
zompist wrote: Sun Aug 05, 2018 2:56 pm That fixed the loop, but tried to go to the wrong page.

But I fixed the original problem anyway, by making an index.html that redirects to almeo.html.

I do appreciate the help— I never learned how to do .htaccess.
No problem, I'm happy to help — and I'm glad you could find a solution.

Re: The Virtual Verduria Feedback Thread

Posted: Fri Aug 24, 2018 10:32 am
by Pedant
Is there something wrong in the code for Munkhâshi and Bé clothing? The images don’t seem to be working...

Re: The Virtual Verduria Feedback Thread

Posted: Sat Mar 23, 2019 8:54 pm
by bbbosborne
in the let's get going! section of the LCK homepage, the shortcut links for style and language families are broken.