Jump to content
View in the app

A better way to browse. Learn more.

Next

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.

[RESOLU]Migration Apache2

Featured Replies

Bjour,

Voilci ce que j'ai installé sans trop de difficultés:

apache2 (Server version: Apache/2.0.54)

apache-ssl

libapache2-mod-php4

mysql-server

phpmyadmin

Tout ceci fonctionne sans problème.

La page par default se trouve être:

/var/www/apache2-default/

Qui est un lien symbolique, je veux donc modifier la rediction par le fichier:

/etc/apache2/sites-available/default

De cette façon:

# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# RedirectMatch ^/$ /apache2-default/
RedirectMatch ^/$ /

Résultat, problème, je ne peux pas accéder au site avec le navigateur, cependant si je remplace "RedirectMatch ^/$ /" par "RedirectMatch ^/$ /main/" par exemple, en mettant une page index.html, pas de problème.

Edited by Oddjob

Est-ce que tes règles d'accès donne le droit de lire ton dossier "/" ?

Ex.:

<Directory "/serveur">

Options Indexes FollowSymLinks

AllowOverride None

Order allow,deny

Allow from all

</Directory>

Edited by ggbce

  • Author
Est-ce que tes règles d'accès donne le droit de lire ton dossier "/" ?

Ex.:

<Directory "/serveur">

Options Indexes FollowSymLinks

AllowOverride None

Order allow,deny

Allow from all

</Directory>

Ben ecoute, j'avais bien vérifier ce point aussi.

ServerAdmin webmaster@localhost

       DocumentRoot /var/www/
       <Directory />
               Options FollowSymLinks
               AllowOverride None
       </Directory>
       <Directory /var/www/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride None
               Order allow,deny
               allow from all
               # This directive allows us to have apache2's default start page
               # in /apache2-default/, but still have / go to the right place
               # RedirectMatch ^/$ /apache2-default/
               RedirectMatch ^/$ /
       </Directory>

Même en regardant la doc pour apache2, je n'ai pas trouvé comment régler ce problème :francais:

  • Author

désoler, mais j'ai toujours le problème qui traine et traine encore. Personne n'a une petite idée ?

  • Author

Merci tuXXX, j'avais pas bien ouvert les yeux puisque je ne me suis pas aperçus qu'il manquer une ligne à commenter.

# RedirectMatch ^/$ /apache2-default/
RedirectMatch ^/$ /

En faite, je ne sais pas pourquoi cette 2ème ligne est présente, j'ai du rêvé lorsque j'ai commenté et stupidement coller une ligne du dessus.

bref passons merci :francais:

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.