On Thu, 2 Apr 2009, Pavel Sanda wrote:

Christian Ridderström wrote:
As for the web and the wiki, they should be fully operational so please
report anything that isn't working.

http://wiki.lyx.org/LyX/NewInBranch

On the wiki page, LyX/NewInBranch, there is code that fails to include a file from the VCS via TRAC. It doesn't work and results in ugly messages being shown on the wiki page, e.g

        Warning: file(<snip>..</snip>) [function.file]: failed to open
        stream: HTTP request failed! HTTP/1.1 400 Bad Request in
        /home/lyx/www/wiki.lyx.org/farm.d/local/farmconfig.php on line 237

The file in question is accessed through the following URI

        
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X/status.16x?format=raw

Going manually to this URI will not show the file (it used to do this), but instead my browser asks me if I want to download the file. I assume that the file doesn't have its file type set as 'text' the way it should.

Lars, could you see if you can make the file type of the above file become text? I'm hoping that will fix this problem.


Something feels strange though... when I from the command line try the following:

        wget 
'http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X/status.16x?format=raw'

it takes about 20 seconds before Apaches _starts_ returning the file in question? What's up with that? This could mean that the problem is really a timeout, but I'm not sure.

Note that even if I run the wget-command from lyx.lyx.org, it still takes 15-20 seconds before Apache responds. I'm guessing the culprit is ModSecurity...



Anyway, if the fix turns out to be setting the file type to text, then the following files should also have their types changed, in order to fix similar errors in three other wiki pages:

* 
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_5_X/development/lyx.rpm.README?format=raw

* http://www.lyx.org/trac/browser/lyx-devel/trunk/RELEASE-NOTES?format=raw

* 
http://www.lyx.org/trac/browser/lyx-devel/tags/lyx_1_5_0beta2/RELEASE-NOTES?format=raw

* 
http://www.lyx.org/trac/browser/lyx-devel/tags/lyx_1_5_0beta1/RELEASE-NOTES?format=raw

* 
http://www.lyx.org/trac/browser/lyx-devel/tags/lyx-1_6_1/RELEASE-NOTES?format=raw

/Christian

--
Christian Ridderström                           Mobile: +46-70 687 39 44

Reply via email to