Forum Moderators: phranque
Redirect /olddirectory/oldfile.html http://example.com/newdirectory/newfile.html
But it could not be used when a visitor try to open specific file via browser, let's say style.css and main.inc :
www.website.com/image/style.css
www.website.com/image/main.inc
Redirect /blog/skins/gnoo/style.css http://www.example.com/blog/index.php
On JSP, its will be handled with HTTP Response, example
:
<%response.sendRedirect( "hello.html" );
%>
<%response.sendRedirect( "index.php" );
%>
BUT i don't want in JSP but in htaccess and/or PHP.
In fact, i used nucleus blog and i want all of my blog's files, (.css file, .inc file etc ..) could not be opened via browser to prevent files theft
So does anybody here perhaps know how to do it in htaccess and/or PHP?
Regards
[edited by: jdMorgan at 1:28 am (utc) on Oct. 2, 2005]
[edit reason] example.com [/edit]