i starting to use mod rewrite but all my images or js links doest work
my current query string is:
index.php?r=blogpage=2
i want to change it with this:
/blog/2
this is my .htaccess file
RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)$ /framework/?r=$1page=$2 [L]
but none of my js or css cant find
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.dal...@gmail.com:
i starting to use mod rewrite but all my images or js links doest
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 jswp...@gmx.at wrote:
Try to add
RewriteCond %{REQUEST_FILENAME}
This is more of an apache question.
You can try below url.
http://lmgtfy.com/?q=mod_rewrite+exclude+css
On 1 June 2013 21:39, Farzan Dalaee farzan.dal...@gmail.com wrote:
i starting to use mod rewrite but all my images or js links doest work
my current query string is:
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.dal...@gmail.com:thanks for answer but it doesnt work404 Not Found -
Farzan,
I don't have a direct answer to your question, but I work a lot with a
wiki application called PmWiki that does something very similar to what
you are doing.
Their instructions for using clean urls such as
http://example.com/blog/2 (only in their syntax) can be seen here:
I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
What makes this happen and how do I make it.
Thanks
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
What makes this happen and how do I make it.
Thanks
Thomas
Thomas:
It's unclear as to what you want.
To make this happen, you click it:
http://www.example.com/test.php?id=20
To make this
This one time, at band camp, Thomas Bonham [EMAIL PROTECTED] wrote:
I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
in test.php put this code
?php echo $_GET['id']; ?
Kevin
--
Democracy is two wolves and a lamb voting on what to have for
9 matches
Mail list logo