Section 42.4. Web Services (Topic 2.208)


42.4. Web Services (Topic 2.208)

42.4.1. Review Questions

  1. No startup script exists to start, stop, or restart your apache server. What is the most nearly universal command that you can use to start the Apache server?

  2. You wish to enable .htaccess files on your web server to enable user-based access. Where should these files be located?

  3. You have noticed that an .htaccess file you have created is not being recognized. You have copied it from another server, so you know it is formatted correctly What can you do to solve this problem?

  4. You need to run htpasswd for the first time and create a database named /etc/apache2/users. What command should you issue to create the database?

  5. You wish to start the Apache server with SSL support. What command would you issue? Also, what files might need to be edited to enable SSL support?

  6. You wish to create a virtual host in an older version of Apache. What file should you edit to enable virtual hosts?

  7. You wish to forbid all web-based access to URLs that contain the words Paris and Hilton. You have created the following ACL entry in Squid:

     acl Paris1 url_regex Paris         acl Hilton1 url_regex Hilton         http_access deny Paris1         http_access deny Hilton1         http_access allow all 

    However, you still notice that many users have been able to access URLs such as http://naughtysite.us/paris. Why is this the case?



LPI Linux Certification in a Nutshell
LPI Linux Certification in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596005288
EAN: 2147483647
Year: 2004
Pages: 257

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net