jh0nnyd3pp Posted June 11, 2009 Share Posted June 11, 2009 # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php Eso es lo que tengo en el htaccess, cuando activo la opcion Url amigable y le cambio el nombre a ".htaccess" (Y le doy chmod 777) al entrar en un link me dice que no tengo autoizacion para ver la pagina.¿Como lo tendria que dejar para que funcione?Muchas gracias, por todas las veces que me ayudaron ya Link to comment Share on other sites More sharing options...
paman Posted June 11, 2009 Share Posted June 11, 2009 Hola los permisos de .htaccess debe ser 644 no 777 Link to comment Share on other sites More sharing options...
jh0nnyd3pp Posted June 11, 2009 Author Share Posted June 11, 2009 [21:25:38] SITE CHMOD 644 .htaccess[21:25:38] 200 Permissions changed on .htaccess Ahi le cambie los permisos y cuiando entro a la web me poneForbiddenYou don't have permission to access / on this server.Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.--------------------------------------------------------------------------------Apache/2.2.3 (CentOS) ServerSigue sin funcionar, gracias igual Link to comment Share on other sites More sharing options...
jh0nnyd3pp Posted June 12, 2009 Author Share Posted June 12, 2009 Porfavor ayuda, es la web de mi jefe y me pidio que solucione el link cuanto antes (ME ESTA VOLVIENDO LOCO!!!!!!) Link to comment Share on other sites More sharing options...
jh0nnyd3pp Posted June 16, 2009 Author Share Posted June 16, 2009 Alguien? Link to comment Share on other sites More sharing options...
VDPSol Posted July 5, 2009 Share Posted July 5, 2009 El servidor de casualidad no es windows? yo no logre hacerlo funcionar en windows. Link to comment Share on other sites More sharing options...
Recommended Posts