Retroceder   Foros del Web > Administración de sitios web > Servidores Web > Apache

Respuesta
 
Herramientas Desplegado
Antiguo 17-abr-2007, 12:40   #1 (permalink)
rebeerika ha deshabilitado el karma
 
Fecha de Ingreso: abril-2007
Mensajes: 28
Triste No consigo mod_rewrite.so

Necesito instalar este modulo a mi apache, pero dentro de la carpeta module no consigo el archivo mod_rewrite.so....lo que consigo es en otra carpeta de mi apache mod_rewrite.c...
Tengo que compilarlo?...
Que puedo hacer
rebeerika está desconectado   Responder Citando
Antiguo 17-abr-2007, 14:27   #2 (permalink)
toforo ha deshabilitado el karma
 
Fecha de Ingreso: octubre-2006
Mensajes: 173
Re: No consigo mod_rewrite.so

en tu fólder de módulos tienes que tener uno algo así como este. mod_rewrite
Si lo quieres activar tienes que abrir el fichero httpd.conf y de ahí lo tienes que activar
Se vera algo así LoadModule rewrite_module modules/mod_rewrite.so y para activarlo solo le quitas esto # al principio y es todo.
__________________
¨
toforo está desconectado   Responder Citando
Antiguo 17-abr-2007, 15:27   #3 (permalink)
rebeerika ha deshabilitado el karma
 
Fecha de Ingreso: abril-2007
Mensajes: 28
Triste Re: No consigo mod_rewrite.so

Dentro de la carpeta module no esta el archivo mod_rewrite.so
No se que hacer???????
rebeerika está desconectado   Responder Citando
Antiguo 18-abr-2007, 06:37   #4 (permalink)
rebeerika ha deshabilitado el karma
 
Fecha de Ingreso: abril-2007
Mensajes: 28
Pregunta Re: No consigo mod_rewrite.so

Detro de modules/mappers consegui mod_rewrite.c
Trate de compilarlo para al final obtener el .so, pero me salieron mas errores:

...
mod_rewrite.c:4093: error: syntax error before ‘rv’
mod_rewrite.c:4096: error: ‘rv’ undeclared (first use in this function)
mod_rewrite.c:4098: error: ‘APR_SUCCESS’ undeclared (first use in this function)
mod_rewrite.c:4099: error: ‘APLOG_MARK’ undeclared (first use in this function)
mod_rewrite.c:4099: error: ‘APLOG_CRIT’ undeclared (first use in this function)
mod_rewrite.c:4099: error: ‘s’ undeclared (first use in this function)
mod_rewrite.c: At top level:
mod_rewrite.c:4133: error: syntax error before ‘*’ token
mod_rewrite.c: In function ‘hook_uri2file’:
mod_rewrite.c:4135: error: ‘conf’ undeclared (first use in this function)
mod_rewrite.c:4147: error: ‘r’ undeclared (first use in this function)
mod_rewrite.c:4154: error: ‘DECLINED’ undeclared (first use in this function)
mod_rewrite.c:4175: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4184: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4193: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4199: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4201: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4205: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4208: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4238: error: ‘apr_size_t’ undeclared (first use in this function)
mod_rewrite.c:4238: error: syntax error before ‘flen’
mod_rewrite.c:4243: error: ‘HTTP_OK’ undeclared (first use in this function)
mod_rewrite.c:4247: error: ‘flen’ undeclared (first use in this function)
mod_rewrite.c:4255: error: ‘APLOG_MARK’ undeclared (first use in this function)
mod_rewrite.c:4255: error: ‘APLOG_ERR’ undeclared (first use in this function)
mod_rewrite.c:4258: error: ‘HTTP_FORBIDDEN’ undeclared (first use in this functi
on)
mod_rewrite.c:4276: error: ‘PROXYREQ_NONE’ undeclared (first use in this functio
n)
mod_rewrite.c:4277: error: ‘PROXYREQ_REVERSE’ undeclared (first use in this func
tion)
mod_rewrite.c:4283: error: ‘OK’ undeclared (first use in this function)
mod_rewrite.c:4311: error: ‘HTTP_MOVED_TEMPORARILY’ undeclared (first use in thi
s function)
mod_rewrite.c:4347: error: ‘HTTP_BAD_REQUEST’ undeclared (first use in this func
tion)
mod_rewrite.c: At top level:
mod_rewrite.c:4403: error: syntax error before ‘*’ token
mod_rewrite.c: In function ‘hook_fixup’:
mod_rewrite.c:4405: error: ‘dconf’ undeclared (first use in this function)
mod_rewrite.c:4409: error: ‘apr_size_t’ undeclared (first use in this function)
mod_rewrite.c:4409: error: syntax error before ‘l’
mod_rewrite.c:4415: error: syntax error before ‘)’ token
mod_rewrite.c:4420: error: ‘DECLINED’ undeclared (first use in this function)
mod_rewrite.c:4432: error: ‘r’ undeclared (first use in this function)
mod_rewrite.c:4441: error: ‘l’ undeclared (first use in this function)
mod_rewrite.c:4461: error: ‘OPT_SYM_LINKS’ undeclared (first use in this functio
n)
mod_rewrite.c:4461: error: ‘OPT_SYM_OWNER’ undeclared (first use in this functio
n)
mod_rewrite.c:4463: error: ‘APLOG_MARK’ undeclared (first use in this function)
mod_rewrite.c:4463: error: ‘APLOG_ERR’ undeclared (first use in this function)
mod_rewrite.c:4467: error: ‘HTTP_FORBIDDEN’ undeclared (first use in this functi
on)
mod_rewrite.c:4495: error: ‘HTTP_OK’ undeclared (first use in this function)
mod_rewrite.c:4514: error: ‘PROXYREQ_NONE’ undeclared (first use in this functio
n)
mod_rewrite.c:4515: error: ‘PROXYREQ_REVERSE’ undeclared (first use in this func
tion)
mod_rewrite.c:4521: error: ‘OK’ undeclared (first use in this function)
mod_rewrite.c:4534: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4595: error: ‘HTTP_MOVED_TEMPORARILY’ undeclared (first use in thi
s function)
mod_rewrite.c:4620: error: ‘HTTP_BAD_REQUEST’ undeclared (first use in this func
tion)
mod_rewrite.c:4656: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c: At top level:
mod_rewrite.c:4692: error: syntax error before ‘*’ token
mod_rewrite.c: In function ‘hook_mimetype’:
mod_rewrite.c:4697: error: ‘r’ undeclared (first use in this function)
mod_rewrite.c:4697: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4706: warning: assignment makes pointer from integer without a cas
t
mod_rewrite.c:4714: error: ‘OK’ undeclared (first use in this function)
mod_rewrite.c: At top level:
mod_rewrite.c:4721: error: syntax error before ‘*’ token
mod_rewrite.c: In function ‘handler_redirect’:
mod_rewrite.c:4723: error: ‘r’ undeclared (first use in this function)
mod_rewrite.c:4724: error: ‘DECLINED’ undeclared (first use in this function)
mod_rewrite.c:4737: error: ‘OK’ undeclared (first use in this function)
mod_rewrite.c: At top level:
mod_rewrite.c:4759: error: syntax error before ‘command_table’
mod_rewrite.c:4760: error: ‘OR_FILEINFO’ undeclared here (not in a function)
mod_rewrite.c:4762: error: initializer element is not constant
mod_rewrite.c:4762: error: (near initialization for ‘command_table[0]’)
mod_rewrite.c:4764: error: initializer element is not constant
mod_rewrite.c:4764: error: (near initialization for ‘command_table[1]’)
mod_rewrite.c:4766: error: initializer element is not constant
mod_rewrite.c:4766: error: (near initialization for ‘command_table[2]’)
mod_rewrite.c:4768: error: initializer element is not constant
mod_rewrite.c:4768: error: (near initialization for ‘command_table[3]’)
mod_rewrite.c:4770: error: initializer element is not constant
mod_rewrite.c:4770: error: (near initialization for ‘command_table[4]’)
mod_rewrite.c:4771: error: ‘RSRC_CONF’ undeclared here (not in a function)
mod_rewrite.c:4772: error: initializer element is not constant
mod_rewrite.c:4772: error: (near initialization for ‘command_table[5]’)
mod_rewrite.c:4775: error: initializer element is not constant
mod_rewrite.c:4775: error: (near initialization for ‘command_table[6]’)
mod_rewrite.c:4778: error: initializer element is not constant
mod_rewrite.c:4778: error: (near initialization for ‘command_table[7]’)
mod_rewrite.c:4781: error: initializer element is not constant
mod_rewrite.c:4781: error: (near initialization for ‘command_table[8]’)
mod_rewrite.c:4788: warning: braces around scalar initializer
mod_rewrite.c:4788: warning: (near initialization for ‘command_table[9]’)
mod_rewrite.c:4789: warning: data definition has no type or storage class
mod_rewrite.c:4796: error: syntax error before ‘*’ token
mod_rewrite.c: In function ‘register_hooks’:
mod_rewrite.c:4805: error: ‘APR_HOOK_MIDDLE’ undeclared (first use in this funct ion)
mod_rewrite.c:4810: error: ‘APR_HOOK_FIRST’ undeclared (first use in this functi on)
mod_rewrite.c:4811: error: ‘APR_HOOK_LAST’ undeclared (first use in this functio n)
mod_rewrite.c: At top level:
mod_rewrite.c:4816: error: syntax error before ‘AP_MODULE_DECLARE_DATA’
mod_rewrite.c:4817: error: ‘STANDARD20_MODULE_STUFF’ undeclared here (not in a f unction)
mod_rewrite.c:4818: warning: excess elements in scalar initializer
mod_rewrite.c:4818: warning: (near initialization for ‘rewrite_module’)
mod_rewrite.c:4819: warning: excess elements in scalar initializer
mod_rewrite.c:4819: warning: (near initialization for ‘rewrite_module’)
mod_rewrite.c:4820: warning: excess elements in scalar initializer
mod_rewrite.c:4820: warning: (near initialization for ‘rewrite_module’)
mod_rewrite.c:4821: warning: excess elements in scalar initializer
mod_rewrite.c:4821: warning: (near initialization for ‘rewrite_module’)
mod_rewrite.c:4822: warning: excess elements in scalar initializer
mod_rewrite.c:4822: warning: (near initialization for ‘rewrite_module’)
mod_rewrite.c:4824: warning: excess elements in scalar initializer
mod_rewrite.c:4824: warning: (near initialization for ‘rewrite_module’)
mod_rewrite.c:4824: warning: data definition has no type or storage class

/////////////
No se que hacer?????
rebeerika está desconectado   Responder Citando
Antiguo 18-abr-2007, 16:37   #5 (permalink)
toforo ha deshabilitado el karma
 
Fecha de Ingreso: octubre-2006
Mensajes: 173
Re: No consigo mod_rewrite.so

A mí se me hace que estas buscando lo que no existe
Creo que tu buscas un fichero con este nombre mod_rewrite.so
En realidad el fichero solo tiene este nombre mod_rewrite el .so es solo una extensión algo así como .txt, .gif ETC.
__________________
¨
toforo está desconectado   Responder Citando
Antiguo 19-abr-2007, 06:27   #6 (permalink)
rebeerika ha deshabilitado el karma
 
Fecha de Ingreso: abril-2007
Mensajes: 28
Triste Re: No consigo mod_rewrite.so

Cita:
Iniciado por toforo Ver Mensaje
A mí se me hace que estas buscando lo que no existe
Creo que tu buscas un fichero con este nombre mod_rewrite.so
En realidad el fichero solo tiene este nombre mod_rewrite el .so es solo una extensión algo así como .txt, .gif ETC.
Lo que pasa es que debo editar el archivo httpd.conf, y descomentar la linea:

# LoadModule rewrite_module modules/mod_rewrite.so

quitando el #.

pero en ese archivo no aparece esa linea...entonces lo que hice fue agregarlo, pero es logico que me de error porque el busca "mod_rewrite.so" dentro de la carpeta modules. Realmente necesito instalar ese modulo a mi apache, aunque segun lei en la documentacion, este modulo ya viene instalado en el apache, es decir, ya viene mod_rewrite.so dentro de la carpeta modules, lo que hay que hacer es descomentar esa linea.....pero es que ni siquiera me aparece...........
Ya no se que hacer.............porque volvi a instalar apache y me salieron mas errores...............
Pueden Ayudarme
rebeerika está desconectado   Responder Citando
Respuesta

No hay votos aún.


Herramientas
Desplegado

Normas de Publicación
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes

BB code is Activado
Caritas están Activado
[IMG] está Activado
Código HTML está Desactivado


La Zona horaria es GMT -6. Ahora son las 22:49.


Message Board Statistics

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93