|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
mod_rewrite - Images and template not loading
I am trying to mod rewrite a url like
http://www.sitename.com/?action=Pokerroom&room=12&tdate=1&q_tourtypes=regular to http://www.sitename.com/Pokerroom/12/1/regular.html For this I am using this mod rewrite rule Code:
RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)\.html$ /index.php?action=$1&room=$2&tdate=$3&q_tourtypes=$4 [L] The data is showing ok ... but the problem is tht images r not loading fine ... Can anyone pls help me .. |
|
#2
|
||||
|
||||
|
Stuff should only get rewritten if it doesn't exist, right? There's no check for anything like that in there.
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule...
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > mod_rewrite - Images and template not loading |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|