Jump to content

[SOLVED] rule help please


monkey_magix

Recommended Posts

Hi,

 

I have a "images.php" file in my htdocs directory but I also have an images directory there. I would like rewrite to take

http://www.mydomain.com/images/  => http://www.mydomain.com/images.php

 

I tried the usual :

 

RewriteRule ^images$ images.php [L]

 

but apache thinks that I'm trying to access the images directory

http://www.mydomain.com/images/

rather than the file images.php.

 

Any way around this problem?

 

cheers

dan

Link to comment
https://forums.phpfreaks.com/topic/46562-solved-rule-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.