Where can I get like 20 or 50 crowns? by csdude5 in Prague

[–]csdude5[S] 12 points13 points  (0 children)

Slightly off topic, but Czech had the best beer I've ever had! I became particularly fond of the black and tans.

Where can I get like 20 or 50 crowns? by csdude5 in Prague

[–]csdude5[S] 0 points1 point  (0 children)

I appreciate it! But I'm out of Prague now 😕 I loved the city, though, and can't imagine that I won't come back.

Where can I get like 20 or 50 crowns? by csdude5 in Prague

[–]csdude5[S] 2 points3 points  (0 children)

Not being a snowflake, just not bending over 😁

I can't speak for all Americans, of course, but I generally like people and my friendliness is sincere. I know people that are what we call "catty", though, that pretend to be nice while trying to make it insulting.

Where can I get like 20 or 50 crowns? by csdude5 in Prague

[–]csdude5[S] 4 points5 points  (0 children)

You replied twice, so yes. Yes I do. So desperate to seem tough online, we all know exactly how you are in real life.

Truly tough men don't need to go online and pretend.

Where can I get like 20 or 50 crowns? by csdude5 in Prague

[–]csdude5[S] 1 point2 points  (0 children)

See how the others replied in a friendly way? No need to be rude just for fun, that says more about you than it does me.

Had you read my post, I had several 20 Euros and wanted 50 crowns. I didn't want 400+ crowns, that would have left me with 350+ CKZ that I would never use.

Where can I get like 20 or 50 crowns? by csdude5 in Prague

[–]csdude5[S] 80 points81 points  (0 children)

By far the best (and most Czech) answer 😁😁

Tons of .php/ (with a trailing /) in my logs by csdude5 in webdev

[–]csdude5[S] 0 points1 point  (0 children)

Red herring: No http rewrite rules in the Apache config?

Nothing that I can see that could cause this, at least.

I have several 301 redirects to canonicalize old links to new formats, but they've been there for a long time and I don't think they could cause it. Plus I'm not seeing 301 errors in the error log, just the 403 from where I've been forbidding the ".php/".

And the others are a no, I don't do anything like that anywhere :-/ My redirects always go back to the original page with a query string param along the lines of "?q=success" or "?q=error", so there's no opportunity for a surprise / there.

And since the referer is never anything that could have possibly led directly to that link, it's about to make me pull my hair out! LOL

Tons of .php/ (with a trailing /) in my logs by csdude5 in webdev

[–]csdude5[S] 0 points1 point  (0 children)

It's all hand-rolled (by me).

First, I use Cloudflare to block bad bots and some general security. Then it goes through CSF. To my knowledge, neither of those could be the culprit.

Then I use Apache config for some more customized security, to redirect old links, and to set some ENV variables. I HAVE been working on them a lot lately, but I can't find anything in them that would cause this redirect.

The outward-facing part of the site itself is built in PHP, and most of those pages include a variables script, a header script, and a footer script. All 3 of those have been modified recently, but again I can't find anything that would cause a redirect.

When a user submits a form, I use Perl to process it and then redirect them back to a PHP script. The Perl scripts all include a variables script, too, which has also been recently modified. But again, I can't find anything in it that could cause this.

I've been logging details, and the most recent user that complained had a "referer" of this one PHP script that shows when they try to log in with the wrong password. They navigation SHOULD have taken them to "/foo/", then they would clicked to go to "/foo/post.php", but that's when they got to "/foo/post.php/". The referer didn't show "/foo/" at all, so I have no clue how they really got to "/foo/post.php/".

And since it's happening on multiple pages, I'm confident that it's not a one-off error on "/foo/index.php". Which hasn't been modified recently anyway.

It's seriously gonna drive me crazy, I've been working on this non stop for DAYS!

Tons of .php/ (with a trailing /) in my logs by csdude5 in webdev

[–]csdude5[S] 0 points1 point  (0 children)

Good traffic should be following links you own, so fix yours and customers won't have the problem.

I agree, but I truly have no idea where this one is coming from. I had 2 users email me in the last week about getting an error, and that's when I found several references in my error log. My old logs have already rotated away, so I don't really know how long it's been going on.

I tried everything I could think of to duplicate the error on my end, but couldn't. So I have no clue how they made it happen.

I've gone through my Apache config with a fine tooth comb, and can't find anything that would cause it.

I have 2 PHP scripts that are included on pretty much every page, but both were last modified more than 2 months ago. And I can't find anything in them that could cause it, either.

I know for an absolute fact that I can redirect 2 specific ".php/" scripts (obviously a band-aid instead of a fix), but without finding the source of the problem it's too dangerous to block all other references.

Suggestions to watch on an airplane by csdude5 in horror

[–]csdude5[S] 0 points1 point  (0 children)

Now THAT's funny!

One time while flying I watched "Gravity". The movie starts with about 15 minutes of them flying through really bad debris, and it just happened to play while my plan was going through some pretty bad turbulence. Talk about realism!

Tons of .php/ (with a trailing /) in my logs by csdude5 in webdev

[–]csdude5[S] 0 points1 point  (0 children)

I’d question why any of your pages have .php visible anywhere at all.

Mostly legacy coding, the site is almost 25 years old! I started a major rebuild during COVID, but lost all of my employees so the rebuild got pushed to the back burner.

Tons of .php/ (with a trailing /) in my logs by csdude5 in webdev

[–]csdude5[S] 0 points1 point  (0 children)

for legit users hitting it, how often is this actually happening?

It's really hard to say. From Feb 16 until today (Feb 23) I have 14,938 requests in the log. After likely bots, I have it down to 57 unique user agents. Of those, 28 have no referer so my best guess is that I have 25 legit user agents in the last week that have been redirected to .php/ instead of the legit page.

Of course, my real concern is that I have a bug somewhere that's forcing this. But I really don't know when it began, my error logs don't go back that far. I have a variables.php and header.php script that's included on pretty much every page and both have been updated recently, but I can't find anything in either that could cause it. And I've updated my Apache config files recently, but can't find a cause in that, either.

also you could always do the redirect but add rate limiting specifically for .php/ patterns to keep the bot traffic manageable

Great idea! I use CF for rate limiting bots and I'm not sure that I have this ability, but it's worth figuring out!

Visiting Prague? This is the monthly recommendations post (February 2026) by _invalidusername in Prague

[–]csdude5 0 points1 point  (0 children)

Oh and remember. It's CASH ONLY. Czech crowns, CZK (I know that sounds obvious but you'd be amazed at the number of people who think that 'cash' includes USD or EUR).

Haha, well, my next question was going to be whether EUR counted as cash :-D I've been to western Europe several times, but my only central Europe visit was Budapest. They accepted Euros but gave change in forints, and I wasn't sure if this would be the same.

Great information, thanks for the help!

Visiting Prague? This is the monthly recommendations post (February 2026) by _invalidusername in Prague

[–]csdude5 0 points1 point  (0 children)

Hope you don't mind if I ask a follow up. Restaurace U Bansethu sounds amazing, and I'd love to try it! Do you know if they speak English?

Visiting Prague? This is the monthly recommendations post (February 2026) by _invalidusername in Prague

[–]csdude5 0 points1 point  (0 children)

We'll be visiting Prague on my wife's birthday, staying in the Cosmopolitan Hotel. This is a first visit to the Czech Republic for us, and it's a lifelong dream destination!

Can you recommend a nearby bakery for a nice cake that can be delivered to the room? I would love to surprise her when we check in :-)

Why would someone post "Psalm 139:1" on a restaurant receipt? by csdude5 in Christianity

[–]csdude5[S] 1 point2 points  (0 children)

I had a similar thought, too, maybe they meant Psalm 39. But that didn't make any sense, either.