top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

php links doest work when im using mod rewrite

0 votes

i starting to use mod rewrite but all my images or js links doest work
my current query string is:


i want to change it with this:


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

posted Jun 1, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

Try to add

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

that should exclude existing files and directories from rewriting...

answer Jun 1, 2013 by anonymous
0 votes

This is more of an apache question. You can try below url.

answer Jun 1, 2013 by anonymous
Similar Questions
+1 vote

I am trying to execute the following but he does not execute me well. Which will be able to be the problem?

$sql = "insert into scele (codigo, nombre) values (?, ?)";
$param = "1, Test1";

$tr = ibase_trans(IBASE_WRITE,$this->cn);
$qr = ibase_prepare($tr,$param);
$this->rs = ibase_execute($sql,$param);
if ($this->rs){
 //Evaluate this condition, but he does not enter here 
+2 votes

When I'm trying to load an external html document with the loadHTMLFile() function and then I use the saveHTML() function to output its content, some text in the external html document which is written in non english is displayed in a gibberish format.
Is anyone here has an idea how to solve this problem?

+1 vote

I'm trying to pull the password policy response message from ldap_bind() method: password is expiring, password expired etc.

While checking the packet content from OpenLDAP after ldap_bind() request, with Wireshark, there is a control hooked to the ldap_bind() response, were the message code and message text about password expiration is, but I can't manage to parse that message from response.

I set the password policy request server control before the bind with ldap_set_option(). Any workaround or what am I doing wrong?

0 votes

I have an application running under PHP-5.4.17-TS-VC9 (and .14 as of yesterday) with Aprelium's Abyss X1 v2.8 web server in FastCGI mode on WinXPSP3.

An earlier version of this application works. The current version causes a 500 Internal Server Error. There is no entry in PHP's (fully active) error log. I cannot decipher Abyss's logging, so I cannot determine if a clue was reported by Abyss or not.

The current version works on a different system (Server 2003, PHP 5.3.5-TS-VC6 (Apache module), Apache 2.2).

What I would like to have is a method of getting PHP to report in some undeniable manner, short of total system failure, what it doesn't like about whatever killed it.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.