[PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Farzan Dalaee
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

Re: [PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Julian Wanke
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

Re: [PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Farzan Dalaee
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}

Re: [PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Adam Szewczyk
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:

Re: [PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Julian Wanke
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 -

Re: [PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Tamara Temple
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:

[PHP] PHP Links

2006-03-25 Thread Thomas Bonham
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

Re: [PHP] PHP Links

2006-03-25 Thread tedd
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

Re: [PHP] PHP Links

2006-03-25 Thread Kevin Waterson
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