Chapter 25 . Running a Print Server 655 Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All Instead of Allow from All, you could allow a particular network (for example, 10.0.0.0/255.255.255.0), network interface (Allow from @IF(eth0)), or individual IP address (Allow from 10.0.0.1). On Fedora and other Red Hat Linux systems, it s best to set up your printer as a shared printer using the Printer Configuration window. Here s how: 1. From the main red hat menu, select System Settings.Printing. The Printer Configuration window appears. 2. Click the name of the printer you want to share. (If the printer is not yet configured, refer to the Setting Up Printers section earlier in this chapter.) 3. Select Action.Sharing. The Sharing Properties window appears. 4. On the Queue tab, click the check box next to This Queue Is Available to Other Computers. The words All hosts should appear in the Allowed Hosts box, indicating that all computers that can access your computer from the network can access the selected printer. If you don t want the printer accessible to everyone, you can always click Edit and change the configuration to share your printer in one of the following ways: All hosts The default, where any computer can print on the printer. Network devices If you have a LAN connection, you can select Network Devices and click the interface (such as eth0) to allow computers on the LAN to access your printer. This is a good choice if, for example, your computer is acting as a router. You could allow computers on your LAN to access your printer but not allow computers from the Internet to use the printer. Network address You can restrict access to your printer to a select set of network addresses. The address pool can be indicated with a CIDR address (for example, a CIDR equivalent for a class C netmask of 255.255.255.0 is /24). Single IP address You can indicate that a particular IP address can access your printer. Repeat this step to add more than a single IP address. 5. If you want only selected hosts to access your printer, click Remove (to remove the All Hosts line), and then click Add. 6. Click OK to continue. 7. In the Sharing Properties window, click OK. 8. From the Printer Configuration window, click Apply to apply the changes.
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.
This entry was posted
on Tuesday, September 25th, 2007 at 10:50 am and is filed under Linux.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.