Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Vorschlag - CentOS 7 Webserver Konfiguration Apache 2.4

Featured Replies

Hi,

ich bin frisch von Virtualmin/Webmin auf Froxlor umgestiegen und bisher sehr zufrieden. ?
Der Grund dafür ist, dass Virtual/Webmin total überladen ist und noch ein paar andere Dinge..

Ok, nun zu meinem Anliegen:

Ich nutze CentOS 7.6, und wollte meinen Apache 2.4.6 WebServer "Konfigurieren", wie es im Backend beschrieben ist.

chown root:0 /etc/apache2/sites-enabled/
chmod 0600 /etc/apache2/sites-enabled/
chown root:0 /etc/apache2/sites-enabled/
chmod 0600 /etc/apache2/sites-enabled/
mkdir -p /var/customers/webs/
mkdir -p /var/customers/logs/
mkdir -p /var/customers/tmp
chmod 1777 /var/customers/tmp
systemctl reload-or-restart httpd.service


Ist zumindet bei mir nicht ganz korrekt gewesen.
Apache ist unter /etc/httpd/ untergebracht. Der Ordner sites-enabled ist standardmäßig nicht vorhanden. So haut es hin:
 

mkdir -p /etc/httpd/sites-enabled/
chown root:0 /etc/httpd/sites-enabled/
chmod 0600 /etc/httpd/sites-enabled/
chown root:0 /etc/httpd/sites-enabled/
chmod 0600 /etc/httpd/sites-enabled/
mkdir -p /var/customers/webs/
mkdir -p /var/customers/logs/
mkdir -p /var/customers/tmp
chmod 1777 /var/customers/tmp
systemctl reload-or-restart httpd.service

 

  • Author

Wow, die Änderung erfolgte verdammt schnell ?

Drei kleine "Fehler": mkdir sites-enabled hast du zwei mal aufgeführt.

 

/usr/bin/nano /etc/httpd/conf-enabled/acme.conf

nano ist standardmäßig nicht installiert. vi hingegen schon

vi /etc/httpd/conf-enabled/acme.conf

 

conf-enabled ist kein Standard-Ordner.
Unter CentOS + Apache sind es

/etc/httpd/conf/ [hier ist nur die httpd.conf und magic abgelegt]
/etc/httpd/conf.d/ [hier kommen andere Konfigurationen rein]
/etc/httpd/conf.modules.d/ [habe ich noch nie genutzt]

Sind alles Pfade die in den Einstellungen angepasst werden können/sollten damit es auf dein System passt.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.