Aller au contenu
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] Permissions page PHP hébergée sur Apache2

Featured Replies

Posté(e)

Hello,

voila le pb, j'ai monter un serveur apache2/php5 ... suite a cela, j'ai copier un repertoire contenant la page php qui me permet d'acceder au statut (ON ou OFF) de mon serveur TeamSpeak ! mais lorsque je souhaite acceder a la page via un navigateur internet, j'obtient un 403 Forbidden ... donc les permissions d'acces au fichier ne sont pas bonnes !

Comment faire ? :francais:

Modifié par Soolfly

Posté(e)

Il y a des chances pour que les pages doivent appartenir à l'utilisateur apache, qui généralement s'appelle www-data. Donc essaye chown www-data /chemin/vers/ma/page :francais:

Posté(e)
  • Auteur

bon, j'ai fait un

chown www-data /var/www/statut_ts/demo.php

... j'ai toujours une erreur 403 qui s'pointe... :francais:

Posté(e)

Un peu facile de répondre sans en savoir plus

Tu as quelle version de linux ?

Tu as installer comment ton serveur LAMP?

Posté(e)
  • Auteur

alors, je vient de faire

chown www-data /var/www/statut_ts/

cette fois j'arrive a acceder a la page, sauf que, desormais j'ai des erreur qui s'affiche a la place du code php, voila ce que j'obtient :

Warning: require(teamspeakdisplay/teamspeakdisplay.php) [function.require]: failed to open stream: Permission denied in /var/www/status_ts/demo.php on line 36

Fatal error: require() [function.require]: Failed opening required 'teamspeakdisplay/teamspeakdisplay.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/status_ts/demo.php on line 36

Posté(e)

et tu as bien les fichiers teamspeakdisplay.php dans le sous-repertoire teamspeakdisplay/ du repertoire où tu as mis ta page ?

avec les bons droits ?

Honnêtement, avec les infos qui t'ont permis d'arriver jusque là, tu cerais pouvoir de démerder, maintenant ;)

Posté(e)
  • Auteur

Un grand merci à vous ... désormais ... sa marche ! ;)

Me reste plus qu'a mettre un p'tit [RESOLU] ! :)

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

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.