Htaccess png to php doesn't work

Status
Not open for further replies.

bobrocke

New Member
Messages
1
Reaction score
0
Points
1
I want to redirect sig.png to image.php:
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^sig.png$ image.php [L]

This does not work. When I visit sig.png, I get a 404 error.

Folder structure:
/bobrocket.co/omniscript/
Htaccess file and all other files are placed in there.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

Please could you try changing the RewriteBase line to "RewriteBase /omniscript"? :)

Code:
RewriteEngine On
RewriteBase /omniscript
RewriteRule ^sig.png$ image.php [L]


Thank you,
 
Status
Not open for further replies.
Top