Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z htaccess
adrian1987
post
Post #1





Grupa: Zarejestrowani
Postów: 66
Pomógł: 0
Dołączył: 23.12.2005

Ostrzeżenie: (0%)
-----


mam taki problem, w katalogu głównym mam zdefiniowany plik htaccess o następującej treści:
  1. <?php
  2. # $Id: .htaccess 1739 2007-12-20 00:52:16Z hpdl $
  3. #
  4. # This is used with Apache WebServers
  5. #
  6. # For this to work, you must include the parameter 'Options' to
  7. # the AllowOverride configuration
  8. #
  9. # Example:
  10. #
  11. # <Directory "/usr/local/apache/htdocs">
  12. #   AllowOverride Options
  13. # </Directory>
  14. #
  15. # 'All' with also work. (This configuration is in the
  16. # apache/conf/httpd.conf file)
  17.  
  18. # The following makes adjustments to the SSL protocol for Internet
  19. # Explorer browsers
  20.  
  21. #<IfModule mod_setenvif.c>
  22. #  <IfDefine SSL>
  23. #    SetEnvIf User-Agent ".*MSIE.*"
  24. #             nokeepalive ssl-unclean-shutdown
  25. #             downgrade-1.0 force-response-1.0
  26. #  </IfDefine>
  27. #</IfModule>
  28.  
  29. # If Search Engine Friendly URLs do not work, try enabling the
  30. # following Apache configuration parameter
  31.  
  32. # AcceptPathInfo On
  33.  
  34. # Fix certain PHP values
  35. # (commented out by default to prevent errors occuring on certain
  36. # servers)
  37.  
  38. # php_value session.use_trans_sid 0
  39. # php_value register_globals 1
  40.  
  41. Options +FollowSymLinks
  42. RewriteEngine On
  43. RewriteBase /
  44.  
  45. RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
  46. RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
  47. RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
  48. RewriteRule ^(.*)-pi-([0-9]+).html$ popup_add_image.php?pID=$2&%{QUERY_STRING}
  49. RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
  50. RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
  51. RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
  52. RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
  53. RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}
  54. RewriteRule ^(.*)-n-([0-9]+).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}
  55. ?>

problem jest taki, że po kliknięciu na jakiś link wyświetla się komunikat:
  1. Not Found
  2. The requested URL /information.php was not found on this server.
  3.  
  4. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

a wszystkie pliki są w tym folderze... nie bardzo mam pojęcie o htaccess... wiecie gdzie może być problem?
problem dotyczy tej strony link
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 12:05