Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/05/2010, 13:04
Avatar de bNd170
bNd170
 
Fecha de Ingreso: agosto-2009
Ubicación: $this->setLocation('Valencia', 'Spain');
Mensajes: 365
Antigüedad: 15 años, 3 meses
Puntos: 13
.htaccess en 1and1

Buenas señores, he mudado un site a peticion de un cliente de un Hosting en FSHost a 1&1, todo ha funcionado a la perfeccion, he caido en la cuenta de que va mas rapida la web pero he desvelado un fallo tremendo y es que el .htacces que tenia funcionando en el hosting de FSHost no funciona en este, os dejo codigo por si quereis hecharle un ojo, aver si alguien me sabe solucionar el fallo:

Código Apache:
Ver original
  1. Options +FollowSymLinks
  2. RewriteEngine On
  3. RewriteBase /
  4.  
  5. RewriteRule ^forum/topic/(.*)/$ index.php?action=foro&id=$1
  6. RewriteRule ^forum/(.*)/$ index.php?action=foro&idforum=$1
  7. RewriteRule ^forum/$ index.php?action=foro
  8. RewriteRule ^pp_(.*)$  index.php?action=foro&idforum=1&_pagi_pg=$1
  9. RewriteRule ^e_p/ep_(.*)/(.*)/(.*)$ index.php?action=foro&id=$1&edit_post=$2&remove=$3
  10.  
  11.  
  12.  
  13. RewriteRule ^ranking/$ index.php?action=ranking
  14.  
  15.  
  16. RewriteRule ^create_topic/(.*)/$ index.php?action=foro&ac=create_post&number=$1
  17.  
  18. RewriteRule ^group/(.*)$ index.php?action=grupo&id=$1
  19. RewriteRule ^create_group/$ index.php?action=create_group
  20. RewriteRule ^reset/password$ index.php?action=reset
  21. RewriteRule ^new/(.*)_(.*)$ index.php?action=new&id=$1&_pagi_pg=$2
  22. RewriteRule ^new/(.*)$ index.php?action=new&id=$1
  23. RewriteRule ^points/$ index.php?action=points
  24. RewriteRule ^album_giants/$ index.php?action=album_giants
  25. RewriteRule ^album_giants/al_giants_(.*)$  index.php?action=album_giants&_pagi_pg=$1
  26. RewriteRule ^online/$ index.php?action=online
  27. RewriteRule ^online/online_(.*)$  index.php?action=online&_pagi_pg=$1
  28.  
  29. RewriteRule ^photos_(.*)$  index.php?action=album&_pagi_pg=$1
  30. RewriteRule ^view_photo/(.*)/(.*)$ index.php?action=view_photo&id=$1&ac=$2
  31. RewriteRule ^album/(.*)/(.*)$ index.php?action=album&id=$1&edit=$2
  32. RewriteRule ^albums/$ index.php?action=galleries
  33. RewriteRule ^gallery/(.*)$ index.php?action=gallery&upload=$1
  34. RewriteRule ^archive/$ index.php?action=archive
  35. RewriteRule ^archive/archive_(.*)$  index.php?action=archive&_pagi_pg=$1
  36. RewriteRule ^team/(.*)$ index.php?action=team&players=$1
  37. RewriteRule ^img_op/(.*)$ index.php?action=edit&op=$1
  38. RewriteRule ^deletepic$ index.php?action=edit&ed=deletepic
  39. RewriteRule ^search/(.*)$ index.php?action=search&search=$1
  40. RewriteRule ^award/(.*)/$ index.php?action=award&id=$1
  41.  
  42. RewriteRule ^e_b/e_(.*)/(.*)/$ index.php?action=blog&id=$1&edit_blog=$2
  43.  
  44. RewriteRule ^sponsor/(.*)$ index.php?action=sponsor&name=$1
  45. RewriteRule ^sponsors$ index.php?action=sponsors
  46.  
  47. RewriteRule ^blog/(.*)$ index.php?action=blog&id=$1
  48. RewriteRule ^sendlogin_securePHPSESSID$ send.php
  49. RewriteRule ^setlang/(.*)$  set_lang.php?lang=$1
  50.  
  51. RewriteRule ^article/(.*)/(.*)$ index.php?action=article&id=$1&page=$2
  52. RewriteRule ^articles/$ index.php?action=articles
  53. RewriteRule ^articles/articles_(.*)$  index.php?action=articles&_pagi_pg=$1
  54.  
  55.  
  56. RewriteRule ^user/(.*)/(.*)$ index.php?action=profile&user=$1&sec=$2
  57.  
  58. RewriteRule ^team_news/$ index.php?action=team_news
  59. RewriteRule ^team_news/team_news_(.*)$ index.php?action=team_news&_pagi_pg=$1
  60.  
  61.  
  62. RewriteRule ^media/$ index.php?action=media
  63.  
  64.  
  65. RewriteRule ^scene_news/$ index.php?action=scene_news
  66. RewriteRule ^scene_news/scene_news_(.*)$ index.php?action=scene_news&_pagi_pg=$1
  67.  
  68. RewriteRule ^edit$ index.php?action=edit
  69.  
  70.  
  71. RewriteRule ^teams$ index.php?action=teams
  72. RewriteRule ^awards$ index.php?action=awards
  73. RewriteRule ^awards_(.*)$ index.php?action=awards&_pagi_pg=$1
  74.  
  75.  
  76. RewriteRule ^blog_add/$  index.php?action=ba
  77. RewriteRule ^blogs/$ index.php?action=blogs
  78. RewriteRule ^blogs/blogs_(.*)$ index.php?action=blogs&_pagi_pg=$1
  79.  
  80.  
  81.  
  82. RewriteRule ^inbox_home$ index.php?action=inbox
  83. RewriteRule ^msg/read/(.*)$ index.php?action=inbox&ac=new&read=$1
  84. RewriteRule ^msg/newmsg/(.*)$ index.php?action=inbox&ac=new&user=$1
  85.  
  86.  
  87. RewriteRule ^video/(.*)$ index.php?action=video&id=$1
  88. RewriteRule ^videos/$ index.php?action=videos
  89. RewriteRule ^register$ index.php?action=register
  90. RewriteRule ^tag/(.*)$ index.php?action=tag&tag=$1
  91. RewriteRule ^match/(.*)$ index.php?action=match&id=$1
  92.  
  93. RewriteRule ^demos/$ index.php?action=demos
  94. RewriteRule ^demos/demo_(.*)$ index.php?action=demos&_pagi_pg=$1
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101. RewriteRule ^demo/(.*)$ demo.php?id=$1
  102. RewriteRule ^logout/$ index.php?action=logout-web
  103. RewriteRule ^contact/$ index.php?action=contact
  104. RewriteRule ^jobs/(.*)$ index.php?action=jobs&wrong_code=$1
  105. RewriteRule ^logos/$ index.php?action=logos
  106. RewriteRule ^about/$ index.php?action=about
  107. RewriteRule ^policy/$ index.php?action=policy
  108. RewriteRule ^users/$ index.php?action=users
  109. RewriteRule ^users/users_(.*)$ index.php?action=users&_pagi_pg=$1
  110. RewriteRule ^matches/$ index.php?action=mat
  111. RewriteRule ^matches/matches_(.*)$ index.php?action=matches&_pagi_pg=$1
  112.  
  113.  
  114.  
  115.  
  116. RewriteRule ^error_404$ index.php?action=error
  117.  
  118.  
  119. RewriteRule ^ed_/(.*)/(.*)/(.*)$ index.php?action=edit_comment&acc=$1&name=$2&id=$3
  120.  
  121.  
  122. ErrorDocument 404 http://www.XXX.com/error_404

EDIT:
XXX = EJEMPLO

Esta URL no va:
http://www.XXX.es/new/120

En cambio esta sí:
http://www.XXX.es/user/bNd/

Gracias de antemano.

Última edición por bNd170; 12/05/2010 a las 06:36