![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 143 Pomógł: 0 Dołączył: 5.04.2005 Ostrzeżenie: (0%) ![]() ![]() |
doinstalowałem sobie do oscommerce dodatek zamieniający linki na bardziej przyjazne dla google
zmienialem tez htaccess, kiedy wpisuje adres strony mam kumunikat: Forbidden You don't have permission to access / on this server. po wpisaniu pełnej sciezki tzn. razem z index.php wszystko gra inne stronki na serwerze dzialają normalnie wiec podejzewam htaccess dodałem taki wpis: DirectoryIndex index.php ale nadal nic to moj plik: Cytat # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain php values # (commented out by default to prevent errors occuring on certain # servers) # #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> DirectoryIndex index.php # Ultimate SEO URLs BEGIN Options +FollowSymLinks RewriteEngine On RewriteBase / #RewriteRule ^(.*)-pri-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} #RewriteRule ^(.*)-p-(.*).html$ adr_rewrite.php?mod=$2&%{QUERY_STRING} RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} # Ultimate SEO URLs END Edit: problem pojawia sie gdy jest linia RewriteEngine on, kiedy ja zablokuje strona wyswietla sie ok Ten post edytował lucks 18.01.2007, 08:57:34 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 10:14 |