|
91.
|
|
|
The directories <filename>/etc/ssl/certs</filename> and <filename>/etc/ssl/private</filename> are the default locations. If you install the certificate and key in another directory make sure to change <emphasis>SSLCertificateFile</emphasis> and <emphasis>SSLCertificateKeyFile</emphasis> appropriately.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:599(para)
|
|
92.
|
|
|
With Apache2 now configured for HTTPS, restart the service to enable the new settings:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:606(para)
|
|
93.
|
|
|
Depending on how you obtained your certificate you may need to enter a passphrase when <application>Apache2</application> starts.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:617(para)
|
|
94.
|
|
|
You can access the secure server pages by typing https://your_hostname/url/ in your browser address bar.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:623(para)
|
|
95.
|
|
|
Sharing Write Permission
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:630(title)
|
|
96.
|
|
|
For more than one user to be able to write to the same directory it will be necessary to grant write permission to a group they share in common. The following example grants shared write permission to <filename>/var/www/html</filename> to the group "webmasters".
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:631(para)
|
|
97.
|
|
|
sudo chgrp -R webmasters /var/www/html
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:639(command)
|
|
98.
|
|
|
sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:640(command)
|
|
99.
|
|
|
sudo find /var/www/html -type f -exec chmod g=rw "{}" \;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:641(command)
|
|
100.
|
|
|
These commands recursively set the group permission on all files and directories in /var/www/html to read write and set user id. This has the effect of having the files and directories inherit their group and permission from their parrent. Many admins find this useful for allowing multiple users to edit files in a directory tree.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:643(para)
|