Jump 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.

Lighttpd und htaccess

Featured Replies

Ich habe schon google genutzt, jedoch steige ich bei der htaccess f?r lighttpd nicht mehr durch.

 

Folgendes, ich weis, das htaccess von lighttpd nicht einfach so erkannt wird. Diese muss include werden und das sieht bei mir so aus

 

  $HTTP["host"] =~ "(?:^|\.)example\.com$" {
 server.document-root = "/var/customers/webs/ich/"
 [color="#FF0000"]include "/var/customers/webs/ich/rewrite.conf[/color]"
 $HTTP["url"] =~ "^/webalizer/" {
   auth.backend = "htpasswd"
   auth.backend.htpasswd.userfile = "/etc/lighttpd/froxlor-htpasswd/1-afb654bb225f6a33d6a5b8d80fff4b1b.htpasswd"
   auth.require = ( 
     "/webalizer/" =>
     (
        "method"  => "basic",
        "realm"   => "Restricted Area",
        "require" => "valid-user"
     )
   )
 }

 

Im root verzeichnis f?r die Domain habe ich die Datei rewrite.conf erstellt und die Rechte 755 gegeben.

 

In Apache habe ich alle meine Domains zu einer geleitet. das sah so aus

 

RewriteEngine On

RewriteCond %{THE_REQUEST} ^[A-Z]+\ /index\.php
RewriteRule ^index\.php/?(.*) /$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^example\.org$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.example\.org$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

 

Unter lighttpd funktioniert diese regel nicht und ich habe kein plan, wie ich diese neu schreiben muss.

 

Mir ist wichtig, das auf meine seite keine Index.php erscheint und alles auf eine Domain geleitet wird. Die seite muss dann auch das www beinhalten. Wie kann ich diese regel erstellen ????

Archived

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

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.