Re: Apache2 no me coge el htaccess
On 25/10/2012 23:41, jors wrote: On 25/10/12 16:38, Gorka wrote: On 25/10/2012 15:15, Lic. Domingo Varela Yahuitl wrote: Reiniciaste el servidor apache Sent from my android device. One step ahead. -Original Message- From: Gorka gorkali...@yahoo.es To: debian-user-spanish@lists.debian.org Sent: Thu, 25 Oct 2012 7:30 Subject: Re: Apache2 no me coge el htaccess On 25/10/2012 13 tel:201213:59, Gorka wrote: On 25/10/2012 13 tel:201213:27, Carlos Nicolas wrote: El 25/10/2012 12 tel:201212:31, Gorka escribió: Tengo un .htaccess en /var/www con esta línea como contenido ... IndexIgnore * ... en /etc/apache2/sites-available/default tengo ... VirtualHost *:80 ServerAdmin webmaster@localhost DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost ... donde como podéis ver he cambiado AllowOverride de None a All Y sigue sin cogerme el .htaccess. Cuando meto la url me lista todo el contenido de /var/www ¿Qué hago mal? ¿Aguna idea? Creo que tienes que añadir la opcion Includes en options , algo asi quedaria Options Indexes FollowSymLinks MultiViews Includes Pues tampoco funciona. Al igual que tampoco funciona por ejemplo poner ... php_value upload_max_filesize 100M ... en el .htaccess phpinfo() sigue mostrando ... upload_max_filesize 2M 2M ... tanto para la columna local como para la general. En realidad phpinfo() sólo refleja los cambios si los hago directamente sobre el php.ini, pero lo que yo quiero es saber por qué no me está funcionando nada de lo que pongo en el .htaccess. ¿Alguien puede aportar algo de luz al tema? Por supuesto, reinicio el servidor apache2 tras cada cambio de configuración, ... pero nada. Supongo comprobaste que en el apache.conf tengas algo así: # # AccessFileName: The name of the file to look for in each directory # for additional configuration directives. See also the AllowOverride # directive. # AccessFileName .htaccess Por supuesto. Pero creo que he encontrado el fallo, y por ahí van los tiros. Al crear el .htaccess desde Eclipse me ha añadido la extensión .php al archivo y no me he percatado. ¡Vaya fallo de novato! Perdonad las molestias. Gracias a todos. -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/508a2ec6.4060...@yahoo.es
Apache2 no me coge el htaccess
Tengo un .htaccess en /var/www con esta línea como contenido ... IndexIgnore * ... en /etc/apache2/sites-available/default tengo ... VirtualHost *:80 ServerAdmin webmaster@localhost DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost ... donde como podéis ver he cambiado AllowOverride de None a All Y sigue sin cogerme el .htaccess. Cuando meto la url me lista todo el contenido de /var/www ¿Qué hago mal? ¿Aguna idea? -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/508914fb.5090...@yahoo.es
Re: Apache2 no me coge el htaccess
On 25/10/2012 12:31, Gorka wrote: Tengo un .htaccess en /var/www con esta línea como contenido ... IndexIgnore * ... en /etc/apache2/sites-available/default tengo ... VirtualHost *:80 ServerAdmin webmaster@localhost DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost ... donde como podéis ver he cambiado AllowOverride de None a All Y sigue sin cogerme el .htaccess. Cuando meto la url me lista todo el contenido de /var/www ¿Qué hago mal? ¿Aguna idea? Se me olvidó decir que, por supuesto, he hecho ... a2ensite default /etc/init.d/apache2 reload (incluso restart) -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50891751.7080...@yahoo.es
Re: Apache2 no me coge el htaccess
El 25/10/2012 12:31, Gorka escribió: Tengo un .htaccess en /var/www con esta línea como contenido ... IndexIgnore * ... en /etc/apache2/sites-available/default tengo ... VirtualHost *:80 ServerAdmin webmaster@localhost DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost ... donde como podéis ver he cambiado AllowOverride de None a All Y sigue sin cogerme el .htaccess. Cuando meto la url me lista todo el contenido de /var/www ¿Qué hago mal? ¿Aguna idea? Creo que tienes que añadir la opcion Includes en options , algo asi quedaria Options Indexes FollowSymLinks MultiViews Includes -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50892226.9090...@gmail.com
Re: Apache2 no me coge el htaccess
On 25/10/2012 13:27, Carlos Nicolas wrote: El 25/10/2012 12:31, Gorka escribió: Tengo un .htaccess en /var/www con esta línea como contenido ... IndexIgnore * ... en /etc/apache2/sites-available/default tengo ... VirtualHost *:80 ServerAdmin webmaster@localhost DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost ... donde como podéis ver he cambiado AllowOverride de None a All Y sigue sin cogerme el .htaccess. Cuando meto la url me lista todo el contenido de /var/www ¿Qué hago mal? ¿Aguna idea? Creo que tienes que añadir la opcion Includes en options , algo asi quedaria Options Indexes FollowSymLinks MultiViews Includes Pues tampoco funciona. -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5089299a.7090...@yahoo.es
Re: Apache2 no me coge el htaccess
On 25/10/2012 13:59, Gorka wrote: On 25/10/2012 13:27, Carlos Nicolas wrote: El 25/10/2012 12:31, Gorka escribió: Tengo un .htaccess en /var/www con esta línea como contenido ... IndexIgnore * ... en /etc/apache2/sites-available/default tengo ... VirtualHost *:80 ServerAdmin webmaster@localhost DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost ... donde como podéis ver he cambiado AllowOverride de None a All Y sigue sin cogerme el .htaccess. Cuando meto la url me lista todo el contenido de /var/www ¿Qué hago mal? ¿Aguna idea? Creo que tienes que añadir la opcion Includes en options , algo asi quedaria Options Indexes FollowSymLinks MultiViews Includes Pues tampoco funciona. Al igual que tampoco funciona por ejemplo poner ... php_value upload_max_filesize 100M ... en el .htaccess phpinfo() sigue mostrando ... upload_max_filesize 2M 2M ... tanto para la columna local como para la general. En realidad phpinfo() sólo refleja los cambios si los hago directamente sobre el php.ini, pero lo que yo quiero es saber por qué no me está funcionando nada de lo que pongo en el .htaccess. ¿Alguien puede aportar algo de luz al tema? -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/508930e2.4040...@yahoo.es
Re: Apache2 no me coge el htaccess
Reiniciaste el servidor apache Sent from my android device. One step ahead. -Original Message- From: Gorka gorkali...@yahoo.es To: debian-user-spanish@lists.debian.org Sent: Thu, 25 Oct 2012 7:30 Subject: Re: Apache2 no me coge el htaccess On 25/10/2012 13:59, Gorka wrote: On 25/10/2012 13:27, Carlos Nicolas wrote: El 25/10/2012 12:31, Gorka escribió: Tengo un .htaccess en /var/www con esta línea como contenido ... IndexIgnore * ... en /etc/apache2/sites-available/default tengo ... VirtualHost *:80 ServerAdmin webmaster@localhost DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost ... donde como podéis ver he cambiado AllowOverride de None a All Y sigue sin cogerme el .htaccess. Cuando meto la url me lista todo el contenido de /var/www ¿Qué hago mal? ¿Aguna idea? Creo que tienes que añadir la opcion Includes en options , algo asi quedaria Options Indexes FollowSymLinks MultiViews Includes Pues tampoco funciona. Al igual que tampoco funciona por ejemplo poner ... php_value upload_max_filesize 100M ... en el .htaccess phpinfo() sigue mostrando ... upload_max_filesize 2M 2M ... tanto para la columna local como para la general. En realidad phpinfo() sólo refleja los cambios si los hago directamente sobre el php.ini, pero lo que yo quiero es saber por qué no me está funcionando nada de lo que pongo en el .htaccess. ¿Alguien puede aportar algo de luz al tema? -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/508930e2.4040...@yahoo.es
Re: Apache2 no me coge el htaccess
On 25/10/12 16:38, Gorka wrote: On 25/10/2012 15:15, Lic. Domingo Varela Yahuitl wrote: Reiniciaste el servidor apache Sent from my android device. One step ahead. -Original Message- From: Gorka gorkali...@yahoo.es To: debian-user-spanish@lists.debian.org Sent: Thu, 25 Oct 2012 7:30 Subject: Re: Apache2 no me coge el htaccess On 25/10/2012 13 tel:201213:59, Gorka wrote: On 25/10/2012 13 tel:201213:27, Carlos Nicolas wrote: El 25/10/2012 12 tel:201212:31, Gorka escribió: Tengo un .htaccess en /var/www con esta línea como contenido ... IndexIgnore * ... en /etc/apache2/sites-available/default tengo ... VirtualHost *:80 ServerAdmin webmaster@localhost DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost ... donde como podéis ver he cambiado AllowOverride de None a All Y sigue sin cogerme el .htaccess. Cuando meto la url me lista todo el contenido de /var/www ¿Qué hago mal? ¿Aguna idea? Creo que tienes que añadir la opcion Includes en options , algo asi quedaria Options Indexes FollowSymLinks MultiViews Includes Pues tampoco funciona. Al igual que tampoco funciona por ejemplo poner ... php_value upload_max_filesize 100M ... en el .htaccess phpinfo() sigue mostrando ... upload_max_filesize 2M 2M ... tanto para la columna local como para la general. En realidad phpinfo() sólo refleja los cambios si los hago directamente sobre el php.ini, pero lo que yo quiero es saber por qué no me está funcionando nada de lo que pongo en el .htaccess. ¿Alguien puede aportar algo de luz al tema? Por supuesto, reinicio el servidor apache2 tras cada cambio de configuración, ... pero nada. Supongo comprobaste que en el apache.conf tengas algo así: # # AccessFileName: The name of the file to look for in each directory # for additional configuration directives. See also the AllowOverride # directive. # AccessFileName .htaccess -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5089b224.9060...@gmail.com