is there a way to tell Apache to simulate a directory in the URL ?
Here is what I’m trying to do… I currently have an URL like http://photo.mydomain.com/pics/17/120417/1.jpg and I would like to be able to reach the same content with an URL like http ://photo.mydomain.com/pics/51/17/120417/1.jpg .
Is that possible ? If yes, a little of bit would be much appreciated 🙂
Thanks !
Try this rule:
Edit
Since you’re using this rule in the
<VirtualHost>section and not in a .htaccess file, you need to use the full path with path prefix in the pattern:Only in .htaccess files you need to remove them: