Birmingham
11-20-2010, 10:37 PM
hi guys, i have a htaccess line that looks somethihng like this:
RewriteRule ^alpha.jpg$ ../alpha.jpg [L]
basically as you can see it is trying to target an equivalent file in the parent directory, but it only returns a bad request because i guess the double-dot-and-slash ( ../ ) is not recognised in htaccess like it would be in a php script?
it's so hard finding anyone who knows htaccess like the back of their hand, and so hard finding somewhere to ask for help with advanced htaccess... does anyone have a solution to this problem? :confused:
RewriteRule ^alpha.jpg$ ../alpha.jpg [L]
basically as you can see it is trying to target an equivalent file in the parent directory, but it only returns a bad request because i guess the double-dot-and-slash ( ../ ) is not recognised in htaccess like it would be in a php script?
it's so hard finding anyone who knows htaccess like the back of their hand, and so hard finding somewhere to ask for help with advanced htaccess... does anyone have a solution to this problem? :confused: