I have a problem with internal links I add with this extension.

Here on screenshot I put a link on some page on my forum:

http://img221.imageshack.us/img221/367/pun1h.gif

Then, in published post external link is OK, see in status bar at the bottom:

http://img840.imageshack.us/img840/4564/pun2.gif

But internal link has been cut down:

http://img820.imageshack.us/img820/9469/pun3.gif

I put screenshots from my local test forum, but on the real forum online there is the same problem.

Please help me to resolve this issue.

kmbxxx wrote:

+
Moderator extension

Where can I get this one?
Many thanks

3

(4 replies, posted in PunBB 1.3 troubleshooting)

We installed WYSWYG Editor Extension, but it didn't work because nginx disabled .htm

Page Not found (Error 404): The requested page extensions/punbb_wysiwyg/tiny_mce/themes/advanced/source_editor.htm could not be found.

Upon our investigation, the problem was in this line:

rewrite /.*[^(.php|.css|.png|.jpg|.gif)]$ /rewrite.php last;

A better solution:

location /  {
..............
   try_files $uri $uri/ @rewrite;
                                    }

location @rewrite {
    include /etc/nginx/fastcgi_params;
    fastcgi_param SCRIPT_NAME /rewrite.php;
    fastcgi_param SCRIPT_FILENAME $document_root/rewrite.php;
    fastcgi_pass   127.0.0.1:9000;
}

It worked on nginx/0.8.35, not sure about older versions.