Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Wrong port caching and troubles with "+" in urls.
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Wrong port caching and troubles with "+" in urls.

Wrong port caching and troubles with "+" in urls. 13 years, 2 months ago #24681

  • Slayer
Order Number: 00018346
JoomSEF: 3.8.3
Joomla!: 1.5.24

Hi,
I need some help.

We use frontend and backend servers.
front -nginx at port 80
back - apache at port 8080

All static content work on nginx, Php scripts work on apache.

Site can work on both ports.

Sometimes, JoomSEF cache think that port 8080 primery and sign it in urls.

Then i clear cache in JoomSEF - all fine again.

How do that JoomSEF use always port 80 (default)?
Last Edit: 13 years, 2 months ago by .
The topic has been locked.

Re: Wrong port caching 13 years, 2 months ago #24682

  • Slayer
Second question:
Troubles with "+" in urls.
Often users/bots use urls with "+" and see errors.
bad url "obzor-i-testirovanie-kulera-scyt+he-mugen-3" - user see 404 error.
real good url "obzor-i-testirovanie-kulera-scythe-mugen-3" - user see article.
How fix this?

Option "Strip characters" in configuration = ,|~|!|@|%|^|*|(|)|+|<|>|:|;|{|}|[|]|---|--|..|.


Thanks.
Last Edit: 13 years, 2 months ago by .
The topic has been locked.

Re: Wrong port caching 13 years, 2 months ago #24689

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
Well JoomSEF doesn't store URLs with host and port, it handles only the path part of the URL. The host and port should be handled by Joomla itself.

"+" sign is used in URLs instead of space, so it gets converted to space automatically. JoomSEF doesn't have an option to replace characters when parsing URLs. You could probably use a custom RewriteRule in your .htaccess file for that (something like stackoverflow.com/questions/1279681/mod-...erscores-with-dashes).
ARTIO Support Team
The topic has been locked.

Re: Wrong port caching and troubles with "+" in urls. 13 years, 2 months ago #24690

  • Slayer
Thanks, David.

1. I disable cashing for JoomSEF and now wait stats for loading on server and trouble return.

2. If i remove "+" from "Strip characters" what i have to?
Last Edit: 13 years, 2 months ago by .
The topic has been locked.

Re: Wrong port caching and troubles with "+" in urls. 13 years, 2 months ago #24698

  • dajo
  • OFFLINE
  • Posts: 5069
1. What exactly is the problem? If you open page on port 80, you see URLs with port 8080 on the page? And do all URLs use wrong port or only some of them? Does this happen with JoomSEF disabled and only standard Joomla SEF enabled?

2. If you remove "+" from "Strip characters", the "+" sign will be present in SEF URLs. But I'm not sure if it will work with JoomSEF, due to special meaning of "+" in URLs.
ARTIO Support Team
The topic has been locked.

Re: Wrong port caching and troubles with "+" in urls. 13 years, 2 months ago #24700

  • Slayer
1. "If you open page on port 80, you see URLs with port 8080 on the page?" -Yes. Many urls use 8080. After clearing JoomSEF cache - all ok - all urls wit default port (no :8080 in urls).
I think, some bots/guys use port 8080 and it take in JoomSEF cache, after this - urls go to 8080.

2. "+" in Joomla! engine not work?
It dangerous use "+" in production site?
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty