Jump to content

Recommended Posts

Witam,

Mama taki problem, otoz mam napisany taki sobie kodzik:

Options FollowSymLinks
RewriteEngine On

RewriteRule ^index.html$ index.php [L]
RewriteRule ^news.html$ ?opisy=news [L]
RewriteRule ^download.html$ ?opisy=download [L]
RewriteRule ^reklama.html$ ?opisy=reklama [L]
RewriteRule ^kontakt.html$ ?opisy=kontakt [L]
RewriteRule ^dodaj_opis.html$ ?opisy=dodaj [L]
RewriteRule ^szukaj_opisu.html$ ?opisy=szukaj [L]
RewriteRule ^opisy-([^-]+).html$ ?opisy=opis&kat=$1 [L]
RewriteRule ^opisy-([^-]+)-gg-([^-]+).html$ ?opisy=opis&kat=$1&str=$2 [L]

I wszystko by bylo ok, gdyby nie fakt ze zmienilem serwer i tam juz ten kodzik nie dziala, co moze w nim byc zle? Aha zapomnialem dodac ze na nowym serwerze mod_rewrite jest na 100% wlaczone.

Z gory dziekuje za pomoc

Share this post


Link to post
Share on other sites

trudno powiedziec. na pierwszy rzut oka brak calego urla:

index.php?costam=costam

na drugi rzut :placze:

ewentualny brak RewriteBase

a nawet to RewriteRule ^index.html$ index.php [L] nie dziala? zadna zadnista regulka nie dziala? w takim razie pokombinuj z RewriteBase

Share this post


Link to post
Share on other sites
Zobacz czy nie pójdzie jak wytniesz

"Options FollowSymLinks"

87896[/snapback]

Thx, bylo trzeba jednak wywalic ta linijke i musialem zaczekac az sie dns dla domeny odswieza bo po IP nie dzialalo.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use Privacy Policy