The FTP is running now!
If i want to use the NAS as a php-webserver, where do i have to save the php-files to?
Alias /myphpserver /share/1000/myphpserver
<Directory /share/1000/myphpserver>
DirectoryIndex mydefaultfilename (ie : index.php or index.html ....)
Options +Indexes +FollowSymLinks (use '-' instead of '+' if you want disable these options)
AuthType Basic
AuthName "My Php Servers Access"
AuthUserFile /fullpathto.../myhtpasswd (you must use a full path to the htpasswd. If it is located in a share, the path always begins with /share/1000/sharename/... )
Require valid-user
</Directory>
! | if you open the port 80 I advice you to keep the basic authentication without it anyone will be able to use your server... or in your php code you have to manage an access control but think that with php is easy to create security failures... |
Users browsing this forum: No registered users and 6 guests