User Tools

Site Tools


networking:linux:qlproxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:linux:qlproxy [2011/12/24 15:23]
gcooper
networking:linux:qlproxy [2011/12/24 15:38] (current)
gcooper
Line 14: Line 14:
  
 http://issues.quintolabs.com/trac/quintolabs_qlicap/wiki/QlicapDocsInstall http://issues.quintolabs.com/trac/quintolabs_qlicap/wiki/QlicapDocsInstall
 +
 +==== Install System ====
 +
 +[[computing:linux:minimal_centos_install|Minimal CentOS Install]]
 +
 +This may work on either 32-bit or 64-bit systems.
  
 ==== Install Requirements ==== ==== Install Requirements ====
Line 21: Line 27:
  
 chkconfig squid on chkconfig squid on
-service squid start 
 chkconfig httpd on chkconfig httpd on
-service httpd start 
 </file>  </file> 
  
Line 43: Line 47:
  
 ==== Selinux ==== ==== Selinux ====
 +
 +Set to permissive for now:
 +
 +<file>
 +vi /etc/selinux/config
 +</file>
  
 ==== Configure Squid ==== ==== Configure Squid ====
Line 66: Line 76:
 </file> </file>
  
-Restart Squid proxy:+==== Configure Web Server ====
  
 <file> <file>
-service squid restart +cat << EOF >> /etc/httpd/conf.d/qlproxy.conf
-</file> +
- +
-==== Configure Web Server ==== +
  
 # #
-# This is /etc/httpd/conf.d/squid.conf+# This is /etc/httpd/conf.d/qlproxy.conf
 # #
  
-ScriptAlias /Squid/cgi-bin/cachemgr.cgi /usr/lib64/squid/cachemgr.cgi+Alias /qlproxy /var/opt/quintolabs/qlproxy/www 
 +   <Directory /var/opt/quintolabs/qlproxy/www > 
 +        Options FollowSymLinks 
 +        AllowOverride None 
 +   </Directory>
  
-# Only allow access from localhost by default +EOF 
-<Location /Squid/cgi-bin/cachemgr.cgi> +</file>
- order allow,deny +
- allow from localhost.localdomain +
- # Add additional allowed hosts as needed +
- # allow from .example.com +
-</Location>+
  
 +**Now reboot!**
networking/linux/qlproxy.1324765435.txt.gz · Last modified: 2011/12/24 15:23 by gcooper