Ero sivun ”Ongelmatilanteita” versioiden välillä

p
Added missing setfacl for index.php example (something has changed in usres?)
p (Lisätty linkit.)
p (Added missing setfacl for index.php example (something has changed in usres?))
Rivi 4: Rivi 4:
   echo y | wanna-htdocs
   echo y | wanna-htdocs
   cd && chmod -R og-rwx ~ && touch htdocs/.htaccess && echo "<?php echo \"Toimii\" ?>" > htdocs/index.php
   cd && chmod -R og-rwx ~ && touch htdocs/.htaccess && echo "<?php echo \"Toimii\" ?>" > htdocs/index.php
   setfacl -m u:www-data:--x ~ ~/htdocs && setfacl -m u:www-data:r-- ~/htdocs/.htaccess  
   setfacl -m u:www-data:--x ~ ~/htdocs && setfacl -m u:www-data:r-- ~/htdocs/.htaccess && setfacl -m u:www-data:r-- ~/htdocs/index.php


Tämän jälkeen toimii selaimessa esimerkiksi [http://mcrantan.users.cs.helsinki.fi/index.php http://mcrantan.users.cs.helsinki.fi/index.php].
Tämän jälkeen toimii selaimessa esimerkiksi [http://mcrantan.users.cs.helsinki.fi/index.php http://mcrantan.users.cs.helsinki.fi/index.php].
56

muokkausta