Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obvious files in cache folder #53

Closed
TriangleToo opened this issue Jun 11, 2017 · 10 comments
Closed

Obvious files in cache folder #53

TriangleToo opened this issue Jun 11, 2017 · 10 comments

Comments

@TriangleToo
Copy link

Hello, after a ~3months of using this website, the cache folder generated a lot of folders with a probably scam, xxx and another websites. There's a lot of folders like nulled.io, xxxblog.to etc. How to fix the problem?

@bykidi
Copy link
Contributor

bykidi commented Jun 11, 2017

an apache access.log would be super great to see
temporary solution: create a cronjob for /cache folder cleanup every midnight

@TriangleToo
Copy link
Author

TriangleToo commented Jun 11, 2017

https://pastebin.com/deA6qWTU

I have a lot of access.log files, its caused by using a banner, which users are getting every 1minute, so. It's hard to read all the logs.

/Created a cronjob for cleanup /cache, but it will be good to fix the problem with caching script.

@bykidi
Copy link
Contributor

bykidi commented Jun 11, 2017

About that: same stuff happened to me. Uptimerobot started spamming my access.log with decent amount of connection logs (~5MB per day) So i just created the blank /uptimerobot.txt page with 'It works!' message in it; secondly - i edited uptimerobot's settings to update only blank .txt file (reduces load a bit); third - i edited apache config file with this:

CustomLog ${APACHE_LOG_DIR}/access.log combined env=!dontlog
SetEnvIf Request_URI "^/robots\.txt$" dontlog //to disable logging of robots.txt file
SetEnvIf Request_URI "^/uptimerobot\.txt$" dontlog //and the same for uptimerobot.txt

You can set it up like me but only specifying your /banner/banner.php file.

sorry for my s**t english

@TriangleToo
Copy link
Author

I'm using nginx

@bykidi
Copy link
Contributor

bykidi commented Jun 11, 2017

https://www.bjornjohansen.no/exclude-requests-from-nginx-access-log

@Wruczek
Copy link
Owner

Wruczek commented Jun 18, 2017

Looks like bykidi answered the question, thanks!

@Wruczek Wruczek closed this as completed Jun 18, 2017
@bykidi
Copy link
Contributor

bykidi commented Jun 18, 2017

@Wruczek actually, now his access.log will have less spam. But the point is that his ts-website /cache folder is still full of useless spam and i don't think that he can get rid of that on his own

@Wruczek
Copy link
Owner

Wruczek commented Jun 18, 2017

2.0 have completely different caching mechanism, stores almost all data in a single file without subfolders. So I think we can say that this "issue" is "fixed".

@bykidi
Copy link
Contributor

bykidi commented Jun 19, 2017

Glad to hear. Can we expect the closed alpha/beta test? :D

@Wruczek
Copy link
Owner

Wruczek commented Jun 19, 2017

So far I don't have my PC and I cant work on the website :( But I will definitely post a closed beta on our Telegram group when I will have my pc back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants