PDA

View Full Version : Samba and CUPS printer and Apache server


openminds2fly
7th October 2008, 08:40 PM
Hello guys! How r u doing!

I've upgraded our server in the company to Fedora Core 9, and I'm glad with this version. Althought, I have some questions:

-First, I have the samba package in the latest version, acting as a PDC and a CUPS print server. All works fine, except for the case that in Windows workstations, it says the printer have a lot of jobs in queue, but I scanned with the lpq command, and there's no active job in the server. I've searched te web and notice it is a samba bug, maybe... Anyone already had this trouble? A detail: the job counter always raise up, and the print job queue still shows complete jobs.

-Second, I want the Apache server installed in FC9 to redirect request to a local network Internet Information Service server, and I don't know how. Can someone help me?!

INTERNET --> [FC9 SERVER (APACHE)] --REDIRECT TO --> [192.168.0.250 IIS Server]

I'll be very gratefull for help!

Best regards!

Diego Arduino

briantan
7th October 2008, 09:15 PM
-Second, I want the Apache server installed in FC9 to redirect request to a local network Internet Information Service server, and I don't know how. Can someone help me?!

INTERNET --> [FC9 SERVER (APACHE)] --REDIRECT TO --> [192.168.0.250 IIS Server]

Use ProxyPass, eg.

<VirtualHost *:80>
ServerName www.f9server.com
ProxyRequests Off
ProxyPass / http://192.168.0.250/
ProxyPassReverse / http://192.168.0.250/
</VirtualHost>

Altotonga Travel Photos - Boardman - Nawabganj Photos