Hi
I'm working on a branded version of a site with won't have all the functionality of the original so I have written a rewrite condition to redirect users if they enter a url that isn't allowed.
RewriteCond %{REQUEST_URI} !^/search/webhome [NC]
RewriteCond %{REQUEST_URI} !^/search/search [NC]
RewriteCond %{REQUEST_URI} !^/search/redir [NC]
RewriteCond %{REQUEST_URI} !^/search/help [NC]
RewriteCond %{REQUEST_URI} !^/search/about [NC]
RewriteCond %{REQUEST_URI} !^/search/weboffers [NC]
RewriteCond %{REQUEST_URI} !^/search/afe [NC]
RewriteRule ^/(.*) http://[url]/search/webhome [L,R=301]
Which works.
The problem is that it isn't allowing any assets like images to be displayed.
What do I need to add to my condition to get the assets to display?
They will live in a directory called assets and there will be many sub-directories off that.
Many thanks for any feedback.
K