PHP ve. Htaccess yönlendirme woodoo

0 Cevap php

I'm a little stuck with with my .htaccess redirect. It was working find while I was with PHP4 but the recent move to a new host with PHP5 have changed things for which I've no clue.

I run a URL shortening service for NSFW links so they're a little safer at nsfw.in Here, for a URL like http://nsfw.in/e72b0f (this one is actually SFW) it gives me http://nsfw.in/forward.php?e72b0f

Daha önce benim. Htaccess dosyası ile, "forward.php?" maskeli (gizli). Bu davranışları nasıl geri getirebilir. Burada referans için. Htaccess olduğunu.

Options +FollowSymlinks
RewriteEngine On
RewriteBase /

RewriteCond   %{REQUEST_URI} \/([0-9a-z]{6})$ [NC]
RewriteRule   ^(.*) http://nsfw.in/forward.php?%1 [L]

Btw, ben de PHP Script olma sorunu dışlatmaz. Benim için yaptım geliştirici ona bakmak için çok meşgul.

0 Cevap