How Mod Rewrite A Directory Or Folder
- Forums
- Apache Hosting
- How Mod Rewrite A Directory Or Folder
sir, i followed your tutorial on how to do mod rewrite module in apache the tutorial shows how to do it for a file, but how about if i want to do it to a directory [1010], Last Updated: Mon Jun 24, 2024
Samul
Wed Jul 28, 2010
1 Comments
651 Visits
sir, i followed your tutorial on how to do mod rewrite module in apache,
the tutorial shows how to do it for a file, but how about if i want to do it to a directory.
for example, i want all the files with the url of : pictures to go to my gallery directory like this:
from:
(http://www.example.com/pictures/)
/var/www/mywebs/example/public/pictures/
to:
(http://www.example.com/pictures/)
/var/www/mywebs/example/public/gallery/
so as you can see, i want all the traffic for the pictures directory to go to the gallery directory.
thanls
so now when anyone visits the picture directory, it will go to the files located in the gallery directory
https://www.webune.com/forums/20100728cgrt.html