This shows you the differences between two versions of the page.
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:// | http:// | ||
+ | |||
+ | ==== Install System ==== | ||
+ | |||
+ | [[computing: | ||
+ | |||
+ | 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 | ||
</ | </ | ||
Line 43: | Line 47: | ||
==== Selinux ==== | ==== Selinux ==== | ||
+ | |||
+ | Set to permissive for now: | ||
+ | |||
+ | < | ||
+ | vi / | ||
+ | </ | ||
==== Configure Squid ==== | ==== Configure Squid ==== | ||
Line 66: | Line 76: | ||
</ | </ | ||
- | Restart Squid proxy: | + | ==== Configure Web Server ==== |
< | < | ||
- | service squid restart | + | cat << EOF >> / |
- | </file> | + | |
- | + | ||
- | ==== Configure Web Server ==== | + | |
# | # | ||
- | # This is / | + | # This is / |
# | # | ||
- | ScriptAlias | + | Alias /qlproxy |
+ | < | ||
+ | Options FollowSymLinks | ||
+ | AllowOverride None | ||
+ | </ | ||
- | # Only allow access from localhost by default | + | EOF |
- | <Location | + | </file> |
- | order allow, | + | |
- | allow from localhost.localdomain | + | |
- | # Add additional allowed hosts as needed | + | |
- | # allow from .example.com | + | |
- | </ | + | |
+ | **Now reboot!** |