diff options
author | randomdan <randomdan@localhost> | 2005-08-13 16:34:31 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2005-08-13 16:34:31 +0000 |
commit | 5ce70971b8a13d65518d314581a5263cbcf92580 (patch) | |
tree | f8798ee7686e06a6a6d5247860efa10d08456b03 | |
parent | *** empty log message *** (diff) | |
download | config-5ce70971b8a13d65518d314581a5263cbcf92580.tar.bz2 config-5ce70971b8a13d65518d314581a5263cbcf92580.tar.xz config-5ce70971b8a13d65518d314581a5263cbcf92580.zip |
initial
-rw-r--r-- | etc/apache/apache.conf | 50 | ||||
-rw-r--r-- | etc/squid/squid.conf | 30 |
2 files changed, 80 insertions, 0 deletions
diff --git a/etc/apache/apache.conf b/etc/apache/apache.conf new file mode 100644 index 0000000..96acbbc --- /dev/null +++ b/etc/apache/apache.conf @@ -0,0 +1,50 @@ +ServerRoot /usr/lib/apache2 +ServerName www.randomdan.homeip.net +ServerAdmin dan.goodliffe@randomdan.homeip.net +PidFile /var/run/apache2.pid +ErrorLog /var/log/apache2/error.log +LogLevel warn +User apache +Group web +Listen 80 +Timeout 300 +KeepAlive On +MaxKeepAliveRequests 100 +KeepAliveTimeout 15 +ServerSignature On + +LoadModule access_module modules/mod_access.so +LoadModule mime_magic_module modules/mod_mime_magic.so +LoadModule mime_module modules/mod_mime.so +LoadModule autoindex_module modules/mod_autoindex.so +LoadModule cgi_module modules/mod_cgi.so +LoadModule cgid_module modules/mod_cgid.so +LoadModule vhost_alias_module modules/mod_vhost_alias.so +LoadModule dir_module modules/mod_dir.so +LoadModule php4_module extramodules/libphp4.so +LoadModule mod_xslt extramodules/mod_xslt.so +LoadModule deflate_module modules/mod_deflate.so +LoadModule ldap_module extramodules/mod_ldap.so +LoadModule auth_ldap_module extramodules/mod_auth_ldap.so + +<Directory /> + Options FollowSymLinks Indexes ExecCGI + AllowOverride All +</Directory> + +DirectoryIndex index.php index.html index.xml index.htm index.xphp index.cgi +VirtualDocumentRoot /var/www/vhosts/%0/ +AccessFileName .htaccess +AddOutputFilterByType DEFLATE text/html text/plain text/xml +UseCanonicalName Off +DefaultType text/plain +HostnameLookups Off +AddHandler cgi-script .cgi +AddOutputFilter mod-xslt .xml +AddOutputFilterByType mod-xslt text/xml + +ScriptLog /var/www/files/script.log +AddType application/x-httpd-php .php +AddType application/x-httpd-php .xphp +AddType text/xsl .xsl +AddType text/xml .xml diff --git a/etc/squid/squid.conf b/etc/squid/squid.conf new file mode 100644 index 0000000..dc0522c --- /dev/null +++ b/etc/squid/squid.conf @@ -0,0 +1,30 @@ +http_port 8080 +acl QUERY urlpath_regex cgi-bin \? +no_cache deny QUERY +cache_mem 90 MB +cache_dir ufs /var/cache/squid/ 260 64 64 +acl manager proto cache_object +acl localhost src 127.0.0.1/255.255.255.255 +acl all src 0.0.0.0/0.0.0.0 +acl allowed_hosts src 192.168.0.0/255.255.255.0 +acl workstation src 194.34.98.65/255.255.255.255 +acl ad_block dstdomain "/etc/squid/ad.sites" +#acl alt_proxy dstdomain "/etc/squid/alt.proxy" +cache_peer proxy.servers.dot parent 8080 0 no-query +cache_peer localhost parent 8081 0 no-query +cache_peer_domain proxy.servers.dot .dot +cache_peer_access proxy.servers.dot allow all +#cache_peer_access localhost allow alt_proxy +#cache_peer_access proxy.servers.dot deny alt_proxy +http_access deny manager all +http_access deny ad_block +http_access allow allowed_hosts +http_access allow workstation +http_access allow localhost +http_access deny all +#never_direct allow alt_proxy +#always_direct deny alt_proxy +cache_mgr randomdan@randomdan.homeip.net +cache_effective_user squid +cache_effective_group web +visible_hostname cache.random.lan. |