Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    Permessi Edit Apache Configuration

    Ciao,
    Leggo nell help di Ubuntu
    Edit Apache Configuration You may want your current user to be the PHP pages administrator. To do so, edit the Apache configuration file : $ gksudo "gedit /etc/apache2/apache2.conf" Search both the strings starting by "User" and "Group", and change the names by the current username and groupname you are using. Then you'll need to restart Apache. (look at the next chapter concerning apache commands) Configuration options relating specifically to user websites (accessed through localhost/~username) are in /etc/apache2/mods-enabled/userdir.conf.
    d'accordo ma in soldoni
    ho in apache2.conf

    Codice PHP:
    # These need to be set in /etc/apache2/envvars
    User ${APACHE_RUN_USER
    Group ${APACHE_RUN_GROUP
    envvars



    Codice PHP:
    # envvars - default environment variables for apache2ctl  # Since there is no sane way to get the parsed apache2 config in scripts, some # settings are defined via environment variables and then used in apache2ctl,
    # /etc/init.d/apache2, /etc/logrotate.d/apache2, etc. 
    export APACHE_RUN_USER=www-data 
    export APACHE_RUN_GROUP
    =www-data 
    export APACHE_PID_FILE
    =/var/run/apache2.pid  
    ## The locale used by some modules like mod_dav 
    export LANG=
        
    ## Uncomment the following line to use the system default locale instead:
     #. /etc/default/locale  
    export LANG 
    Cosa ci metto se voglio far girare apache
    con i permessi dell'attuale user ?
    E' valido come
    metodo o dite di usare suPhp
    in questo caso avete un link sotto mano ?






    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

  2. #2
    Utente di HTML.it L'avatar di cacao74
    Registrato dal
    Jan 2005
    Messaggi
    2,570
    ad occhio direi:
    codice:
    export APACHE_RUN_USER=tuo-utente
    export APACHE_RUN_GROUP=tuo-gruppo
    slack? smack!

  3. #3
    Originariamente inviato da cacao74
    ad occhio direi:
    codice:
    export APACHE_RUN_USER=tuo-utente
    export APACHE_RUN_GROUP=tuo-gruppo

    d'accordo per l'user

    export APACHE_RUN_USER=whisher

    ma che comando devo dare per conoscere il mio gruppo ?

    export APACHE_RUN_GROUP=tuo-gruppo




    PS

    Dato che ci sono ma tipo Kate che con gruppo
    gira come fare per vedere abbinamento applicazione/group


    Grazie
    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

  4. #4
    Utente di HTML.it L'avatar di cacao74
    Registrato dal
    Jan 2005
    Messaggi
    2,570
    Originariamente inviato da whisher
    ma che comando devo dare per conoscere il mio gruppo ?
    id -gn
    slack? smack!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.