Re: php links doest work when im using mod rewrite

From: Date: Sat, 01 Jun 2013 20:50:48 +0000
Subject: Re: php links doest work when im using mod rewrite
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-321318@lists.php.net to get a copy of this message
localhost means the files are stored on your computer so I can't access them ;) Wait, you are trying to change the image directories? I'm a bit confused. Am 01.06.2013, 22:44 Uhr, schrieb Farzan Dalaee <farzan.dalaee@gmail.com>:
thanks for answer but it doesnt work 404 Not Found - http://localhost/framework/blog/files/upload/images/ but my images folder in: http://localhost/framework/files/upload/images/ On Sun, Jun 2, 2013 at 1:11 AM, Julian Wanke <jswprog@gmx.at> wrote:
Try to add RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d that should exclude existing files and directories from rewriting... Am 01.06.2013, 22:39 Uhr, schrieb Farzan Dalaee <farzan.dalaee@gmail.com>:
i starting to use mod rewrite but all my images or js links doest work my current query string is: index.php?r=blog&page=2 i want to change it with this: /blog/2 this is my .htaccess file RewriteEngine On RewriteRule ^([^/]*)/([^/]*)$ /framework/?r=$1&page=$2 [L] but none of my js or css cant find i need a way with php to make urls thanks
-- Erstellt mit Operas E-Mail-Modul: http://www.opera.com/mail/

« previous php.general (#321318) next »