flipboard.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Welcome to Flipboard on Mastodon. A place for our community of curators and enthusiasts to inform and inspire each other. If you'd like to join please request an invitation via the sign-up page.

Administered by:

Server stats:

1.3K
active users

#apache2

1 post1 participant0 posts today

#WP-#hosting nasazuje #nejrychlejsti #webserver ve verzi #OpenLiteSpeed

🚀 Novinka na WP-Hosting! 🚀

Přidali jsme možnost aktivovat OpenLiteSpeed místo #Apache2!

🔥 Rychlejší načítání, nižší zatížení #server.u a lepší #vykon pro #WordPress:

✅ aktivace na pár kliknutí

✅ změna DNS záznamů na pár kliknutí

✅ neskutečná #rychlost pro #hosting #web.u

Podrobnosti a #navod na blogu wp-hosting.cz/openlitespeed-na

IT & WP HOST s.r.o. · ⚡OpenLiteSpeed na hostingu! 🚀S radostí oznamujeme, že na náš sdílený hosting přidáváme možnost...
After seeing
Improving snac Performance with Nginx Proxy Cache from @itnotes@snac.it-notes.dragas.net via
https://snac.it-notes.dragas.net/itnotes/p/1738139676.258050
https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/
I decided to prematurely optimize and adjust this for my apache2 httpd server in debian where I run snac.

I've never done any caching etc before so it was a nice adventure to learn something new. The documentation helped and in the end it wasn't very hard. I learned a bit about some http headers and regex on the way too.

Basically it works like this:
Enable the relevant modules:

a2enmod expires cache cache_disk
Be sure "htcacheclean" is running to clean up old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service)
Then add to the snac virtualhost config:

CacheRoot /var/cache/apache2/mod_cache_disk
CacheQuickHandler off
CacheLock on
#Optional while testing stuff;
CacheDetailHeader on

#My Instance ist not at the root, but under "/social"; so this needs to be adapted for most I guess:
<LocationMatch "^/social/[^/]+/s">
CacheEnable disk
ExpiresActive On
ExpiresDefault "access plus 30 days"
</LocationMatch>
This will use the disk cache to cache everything under the /s/ Path, same as the original ngnix tutorial, Utilizing the mod_expires to generate the appropriate cache headers (for lazy ones like me), In this case caching it for 30 days.
Further reading and all options explained under https://httpd.apache.org/docs/2.4/caching.html ff

Thanks for the initial tutorial @itnotes@snac.it-notes.dragas.net

#Fediverse #Hosting #ITNotes #Networking #apache2 #httpd #Ownyourdata #Server #Snac #Snac2 #Social #Tipsandtricks #Tutorial #Web #Debian
snac.it-notes.dragas.netIT Notes (@itnotes@snac.it-notes.dragas.net)2 following, 85 followers · **Improving snac Performance with Nginx Proxy Cache** https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/ #Data #Fediverse #Freebsd #Hosting #ITNotes #Networking #Nginx #NoteHUB #Ownyourdata #Server #Snac #Snac2 #Social #Tipsandtricks #Tutorial #Web

*EDIT thanks for all the (similar) answers! 😁 I had always thought a web server only would serve files owned by the web user, regardless of those file mode settings! I was mistaken! :)

Apache2 (on Debian) question

Uhh, I put a file owned by root in my web server dir, and now I can download it from my browser.. is that supposed to be possible or do I have to change some settiing? 😅

I thought only files from the www user should be viewable/downloadable?

there's a whole genre of linux apps that are basically "after we install, could you add us to nginx/caddy/apache as a reverse_proxy host / please give us email credentials"

and I kinda think that #dpkg or whatever could have an apt-defaults provider or post script hook something that does that (and runs like... letsencrypt/certbot as a hook or something)

like...

apt install $foobar $proxy
nano /etc/proxy/config/sites.conf
nano /etc/foobar/config.toml
systemd reload service
certbot -d whateverdomain.com

could be instead:

cool_apt install $foobar $cname

(uses your installed default reverse proxy and autoconfigures foobar service as a cname of your hostname, e.g. cool_apt install writefreely hello -> hello.example.com)

#caddy #nginx #apache2 #certbot

(there's other parts of linux service configuration that could be hooked in like that - provided there's a provider framework for telling apt what you give or what a compatible alternative does)

For the people that are into #apache2 and #sysadmin things. Is there a standardized way of blocking clients trying to probe / check for vulns?

I'm seeing a bunch of requests to my box resulting in 400 responses from a few IPs. For now I've just locked them out using a rudimentary fail2ban jail. But I'm wondering if there is any other ways of doing this?

Ich habe den Artikel "Friendica auf dem Raspberry Pi installieren" noch mal überarbeitet bzw. erweitert.

Hinzugekommen sind die Installation von #Apache2, #MariaDB und die benötigten PHP-Module, sowie die Konfiguration des Virtuellen Hosts für Friendica.

So ist nun eine komplette Installationsanleitung daraus entstanden. 🙈

Hier geht es zur Anleitung:
👉 Friendica auf dem Raspberry Pi installieren - Blog:Zwo.me

#friendica, #FriendicaInstallation, #apache2, #mariadb, #php, #virtualhost, #raspberrypi

Blog:Zwo.me · Friendica auf dem Raspberry Pi installieren - Blog:Zwo.me
More from Blog:Zwo.me

We've tried to provide good reasons for why changing a software license from truly #opensource to some source-available license makes little sense from a business perspective (in our opinion & experience).

We won't be changing the #Apache2 license for our products. Our main goal is to provide users with good products & help them use these efficiently.

Read more in our latest blog post: ➡️victoriametrics.com/blog/open-

Apache2 permissions “hack”
It’s not stupid if [the last part] works, right? Right? 1. We need a new group: website 2. We need a user: frank 3. Simple website where everything is put into /var/www/html/ sudo addgroup website sudo adduser frank website sudo adduser www-data website Let’s see if Frank belongs to the right groups: groups frank The result should look so…
---
3xn.nl/projects/2024/08/04/apa
---
#apache2 #chown #html #newgrp #ownership #permissions

3xn.nlApache2 permissions “hack” – Fox’s Projects

#pixelfed vs #apache2 is maddening. I have umask 002 in systemd for both, 0775/0664 0770/0660 for public & private, and failing on thumbnails, the fresh image folder on upload is 750. Grrrr.

And no idea at all why the /api/v1/* calls are all 404 or 500; webfinger sees an acct, but the acct cannot receive, api is closed.

.env includes…

ACTIVITY_PUB="true"
AP_REMOTE_FOLLOW="true"
AP_INBOX="true"
AP_OUTBOX="true"
AP_SHAREDINBOX="true"

Time for some deep breaths, fresh air, maybe dinner too.

This is just beautiful! The best #Android client for #FreshRSS. You should check it out, if not yet: github.com/Ashinch/ReadYou/

Still need to get used to some #MaterialYou principles.

Oh, and I set up #FreshRSS on my #SynologyNAS the way it should be. No #docker. Just #MariaDB, #WebStation, #PHP and #apache2. Everything from the official #Synology packages.

An Android RSS reader presented in Material You style. - Ashinch/ReadYou
GitHubGitHub - Ashinch/ReadYou: An Android RSS reader presented in Material You style.An Android RSS reader presented in Material You style. - Ashinch/ReadYou

I'm sure this is likely a dumb mistake, but why do these rules in an #Apache2 Virtual host result in infinite loops?

RewriteEngine on
RewriteCond /var/www/radio/%{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !"^/blog"
RewriteRule ^(.+) /blog/$1 [R]

I have a static site, but /blog should redirect to #WordPress because

Alias /blog /var/www/wordpress

only what I get is:

"GET /blog//blog/blog/blog/blog/blog/blog/blog/blog/blog/blog/blog/blog/blog/.../blog/api/v2/instance HTTP/2.0"