Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 30 December 2024, 12:31:49 am

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  My fix for website auth issues.
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: My fix for website auth issues.  (Read 20696 times)
Xipher
Jr. Member
*
Offline Offline

Posts: 1


« on: Monday 22 December 2008, 09:59:13 am »

I just started using Endian 2.2.rc3 to replace a moderately modified Smoothwall 3.0 SP4 box but noticed an issue...

I was unable to log into web pages that used the "popup" username/password request much like .htaccess, I figured that incase someone is having issues with this that I would make a post here and see if it helps anyone.  Here is a messy here and there bit of documentation on the fix for lack of sleep Smiley

------------------------------------------

The Issue:  Using Endian Firewall Community Edition 2.2.rc3, users are unable to log into websites requiring user/pass authentication such as ".httaccess" style logins. 

Actual test case was as follows:  Windows XP x64bit System accessing website hosted on IIS7.0 server requesting user name and password via a popup box in firefox 3.0.5, Clamav enabled, content filter enabled, proxy transparent on green interface with cache enabled.

The fix, and related notes:  Fix required is to modify the following file /etc/squid/squid.conf.tmp which modifies /etc/squid/squid.conf when the script /usr/local/bin/restartsquid is invoked.  The modification needed is to change line 56/878 from "server_persistent_connections off" to "server_persistent_connections on" and then invoke the script /usr/local/bin/restartsquid.

Note:  The official website for the product Squid lists the directive as on by default at http://www.squid-cache.org/Doc/config/server_persistent_connections/

-----------------------------------------

I've seen no ill effects from this fix, it did the job and now I've got a box on the same hardware with more capability, and a MUCH lower load average even though its doing a whole heck of a lot more than the Smoothwall was doing. Cheesy
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.047 seconds with 20 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com