Re: php links doest work when im using mod rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux