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
| |||
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 |
| |||
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.
__________________ ¨ |
| |||
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????? |
| |||
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.
__________________ ¨ |
| |||
Re: No consigo mod_rewrite.so Cita: 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 |