]> git.llucax.com Git - mecon/scripts.git/commitdiff
Se agrega configuraciĆ³n del apache.
authorLeandro Lucarella <llucax@gmail.com>
Wed, 28 Jan 2004 15:45:21 +0000 (15:45 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Wed, 28 Jan 2004 15:45:21 +0000 (15:45 +0000)
subversion/apache/sites-available/sapo.conf [new file with mode: 0644]

diff --git a/subversion/apache/sites-available/sapo.conf b/subversion/apache/sites-available/sapo.conf
new file mode 100644 (file)
index 0000000..21b5bd8
--- /dev/null
@@ -0,0 +1,66 @@
+# $Id$
+<VirtualHost *>
+       ServerAdmin hdelbo@mecon.gov.ar
+       ServerName portal.mecon.ar
+
+       # SSL
+       #SSLEngine on
+       SSLCertificateFile /etc/apache2/ssl/portal.mecon.ar.cert
+       SSLCertificateKeyFile /etc/apache2/ssl/portal.mecon.ar.key
+
+       DocumentRoot /var/www/sapo/
+       <Directory />
+               Options FollowSymLinks
+               AllowOverride None
+               # Permisos
+               AuthType Basic
+               AuthUserFile /etc/svn/passwd
+               AuthGroupFile /etc/svn/group
+#              AuthType Digest
+               AuthName "Repositorio Subversion"
+#              AuthDigestDomain /
+#              AuthDigestFile /etc/svn/passwd.digest
+#              AuthDigestGroupFile /etc/svn/group
+               Require valid-user
+       </Directory>
+       <Directory /var/www/>
+               Options Indexes FollowSymLinks ExecCGI Multiviews
+               AllowOverride None
+               Order allow,deny
+               allow from all
+       </Directory>
+
+       ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
+       <Directory "/usr/lib/cgi-bin">
+               AllowOverride None
+               Options ExecCGI 
+               Order allow,deny
+               Allow from all
+       </Directory>
+
+       ErrorLog /var/log/apache2/error.log
+
+       # Possible values include: debug, info, notice, warn, error, crit,
+       # alert, emerg.
+       LogLevel warn
+
+       CustomLog /var/log/apache2/access.log combined
+       ServerSignature On
+       
+       Alias /icons/ "/usr/share/apache2/icons/"
+       <Directory "/usr/share/apache2/icons">
+           Options Indexes MultiViews
+           AllowOverride None
+           Order allow,deny
+           Allow from all
+       </Directory>
+
+       Alias /doc/ "/usr/share/doc/"
+       <Directory "/usr/share/doc/">
+           Options Indexes MultiViews FollowSymLinks
+           AllowOverride None
+           Order deny,allow
+           Deny from all
+           Allow from 10.10.0.0/255.255.0.0
+       </Directory>
+</VirtualHost>