I have updated Darrell May's proxypass contrib. I have tested with SME 5.6, successfully. I believe all other versions will probably work alright as well.
I made a pretty small change to the httpd.conf template fragment VirtualDomains/50ProxyPass. In the rpm, this file is located at RPM-SOURCE-PATH/opt/proxypass/SME/5.5/50ProxyPass. Here is the entire file: <START FILE> { tie my %domains, 'esmith::config', '/home/e-smith/domains'; my $target = db_get_prop(\%domains, "$virtualHost", "ProxyTarget") || ""; if ("$target" ne "") { $result .= "\n"; $result .= " #-----------------------------------\n"; $result .= " # Added to ProxyPass virtual domain \n"; $result .= " #-----------------------------------\n"; $result .= "\n"; $result .= " ProxyPass\t/\t$target\n"; $result .= " ProxyPassReverse\t/\t$target\n"; $result .= "\n"; $result .= "\ \n"; } } </END FILE> The original did not include the line that "ties" %domains to the domains config db (line 2). In earlier versions, I'm sure this was done earlier in the "expand-template" process. But, since the newer versions are using more wild cards for the apache config (All aliases seem to be built around 0.0.0.0 and the port number, rather than specific IP's as in previous releases.) So, the problem was occurring because the db_get_prop was not returning a value. As I said above, I believe this fix will work for SME 5.5 and 5.6. The 5.1.2 servers actually get a different 50ProxyPass file, which I did not alter. Here's the url (noarch and src rpms): http://tech-geeks.org/contrib/loveless/beta/proxypass/ Once a few people have posted results, I think it should probably be moved back to Darrell's contrib area on contribs.org. Darrell, as I'm still new to creating RPM's and posting contribs based on others work, I believe I updated the .spec file appropriately. I incremented the release number, changed the packager to myself made a minor addition to the description, and added a changelog entry. If I did or didn't do something that I should have, please let me know so I don't duplicate the error in the future. Feedback welcome, of course. Later, Abe Abe Loveless Network Specialist Area 5 Learning Technology Center 200 Clay Street Edwardsville, IL 62025 Phone: 618-692-6200 ext.4571 Fax: 618-659-9338 http://www.lth5.k12.il.us http://www.tech-geeks.org --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.467 / Virus Database: 266 - Release Date: 4/1/2003 -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org