Koozali.org: home of the SME Server

Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
General Discussion / Re: rewrite issue
« Last post by mmccarn on July 16, 2025, 02:26:13 PM »
There is a rule near the top of your htaccess that matches any URL containing "index.php".

I found this note on stackoverflow indicating you might get what you want by change the action on that rule from [L] to [END]

Code: [Select]
- RewriteRule ^index\.php$ - [L]
+ RewriteRule ^index\.php$ - [END]
62
General Discussion / Re: rewrite issue
« Last post by mmccarn on July 16, 2025, 01:48:23 PM »
Note that if you don't find an actual problem with "-p-2292", you could update your htaccess to rewrite only that id to something else:

Code: [Select]
. # Handles the new URL formats
+ RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-2292(.*)$ index.php?main_page=product_info&products_id=2291&cPath=$2&%{QUERY_STRING} [L]
  RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-([0-9]+)(.*)$ index.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
  RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pi-([0-9]+)(.*)$ index.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
...
63
General Discussion / Re: rewrite issue
« Last post by mmccarn on July 16, 2025, 01:09:29 PM »
Your htaccess file is already available in the link you sent to the htaccess tester.

Note that in that site, it appears that only one product ID produces the infinite redirect issue. 

If I change the product ID I get a real product page...

On the htaccess tester site:

Input URL:
https://www.securitywarehouse.co.uk/catalog/intruder-alarm-equipment-c-36/movement-detectors-c-36_116/all-c-36_116_37/bosch-blue-line-gen2-pet-friendly-passiveinfrared-detector-p-2292.html

Output URL:
https://www.securitywarehouse.co.uk/index.php?main_page=product_info&products_id=2292&cPath=36_116_37&

...then put the output URL into the Input URL field:

Input URL:
https://www.securitywarehouse.co.uk/index.php?main_page=product_info&products_id=2292&cPath=36_116_37&

Output URL (identical):
https://www.securitywarehouse.co.uk/index.php?main_page=product_info&products_id=2292&cPath=36_116_37&

Result:
"The page isn’t redirecting properly"

If you change products_id to 2291 and repeat:

Input URL:
https://www.securitywarehouse.co.uk/index.php?main_page=product_info&products_id=2291&cPath=36_116_37&

Output URL:
https://www.securitywarehouse.co.uk/index.php?main_page=product_info&products_id=2291&cPath=36_116_37&

Result: Model: ISC-BPR2-W12

...so there there seems to be something unique about products_id 2292
64
General Discussion / Re: rewrite issue
« Last post by ReetP on July 16, 2025, 11:41:13 AM »
is it safe to post the htaccess file?

As long as it doesn't include any personal information or obvious security issues :-)
65
General Discussion / Re: rewrite issue
« Last post by jameswilson on July 15, 2025, 06:00:37 PM »
is it safe to post the htaccess file?
66
General Discussion / Re: rewrite issue
« Last post by jameswilson on July 08, 2025, 04:20:03 PM »
mmccarn
Thanks for the link to htaccess tester but i dont understand the output but it doesnt look good

https://htaccess.madewithlove.com?share=d19e705a-d8de-4709-b6f9-ad0cd120c8d3
67
General Discussion / Koozali SME Server v11 2025-07-08 - view from the coalface
« Last post by ReetP on July 08, 2025, 01:31:10 PM »
Well, I don't know about you, but where I am summer is early and hot as Hades.

Anyways, just a quick note.

We have been test building a Beta.

Yup. Nearly, but no cigar as yet. It has a few issues we are trying to resolve.

Various people are also away for summer/vacatons at the minute which has slowed progress a little. We may not release the Beta until they return in a few weeks, just in case it all goes horribly wrong.

So, in the meantime and for the umpteenth time, please come and help.

There are thousands of users out there, and only a tiny handful who do any work.

But I am pretty sure the minute they think there is a chance of an upgrade they'll be here and then complaining that their favourite contribs are all broken (yup, and will be until we get time to fix them).

This stuff does not build itself. It takes a lot of time and a lot of effort, and we are few.

You do NOT have be a developer.

All you need to be able to do is install it and see what happens. And you have all done that at least once.

So no excuses. Come and help us please. You'll get your upgrade faster if you do.

Thanks.

68
Français / Re: possible exploit
« Last post by Jean-Philippe Pialasse on July 08, 2025, 01:26:07 PM »

si worpress n'est pas installé alors ce sont juste des resultats de kiddie script.

la seule chose etrange est que tu aurais tu avoir une reponse 404 ou une redirection sur ces url comme wordpress n'est pas installé et donc pas ces url.
69
Français / Re: possible exploit
« Last post by gieres on July 07, 2025, 10:27:55 PM »
@jpp Je n'ai rien trouvé de semblable dans le journal « messages ». Peut-être faut-il faire des recherches dans d'autres journaux ? httpd-access-log ou httpd-error-log ?
Wordpress n'est pas installé sur ce serveur.
Merci.

@ReetP
Ok, thanks.
70
Français / Re: possible exploit
« Last post by ReetP on July 07, 2025, 12:15:20 AM »
Si vous suspectez un problème de sécurité, évitez de le divulguer publiquement. Ouvrez plutôt un "bug de sécurité".

Also if you suspect a security issue please don't publicise it for the world to see. Open a security bug.

Thank you.
Pages: 1 ... 5 6 [7] 8 9 10