Diferencia entre revisiones de «Setup servidor»
De ActionApps Documentacion
(→En el httpd.conf) |
|||
| Línea 10: | Línea 10: | ||
2. En el archivo mod_/etc/apache2/mime-defaults.conf configuro las sgtes variables | 2. En el archivo mod_/etc/apache2/mime-defaults.conf configuro las sgtes variables | ||
| + | <code><pre> | ||
AddType text/html .shtml | AddType text/html .shtml | ||
AddOutputFilter INCLUDES .shtml | AddOutputFilter INCLUDES .shtml | ||
| − | + | </pre></code> | |
3. En el archivo mod_/etc/apache2/default-server.conf configuro las sgtes variables para que queden asi | 3. En el archivo mod_/etc/apache2/default-server.conf configuro las sgtes variables para que queden asi | ||
| − | + | <code><pre> | |
<Directory "/srv/www/htdocs"> | <Directory "/srv/www/htdocs"> | ||
Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI | Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI | ||
| Línea 22: | Línea 23: | ||
Allow from all | Allow from all | ||
</Directory> | </Directory> | ||
| + | </pre></code> | ||
Revisión del 15:51 23 nov 2007
Contenido
Configuración Apache
En el httpd.conf
Para el Apache/2.2.0 (Linux/SUSE) Es análogo en las otras distribuciones
1. Ubico con el comando LOCATE el archivo httpd.conf. Me sirve para ubicar los demas archivos donde configurar variables del servidor
2. En el archivo mod_/etc/apache2/mime-defaults.conf configuro las sgtes variables
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
3. En el archivo mod_/etc/apache2/default-server.conf configuro las sgtes variables para que queden asi
<Directory "/srv/www/htdocs">
Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>