Page 1 of 1

Problem with the root directories and links

PostPosted: 09. January 2008 17:07
by theillien
I'm mirroring a website with wget. In order to do this I"ve added a <Directory> directive to etc/extra/httpd-xampp.conf and created an alias to it. In addition, I've added a link to it within navi.php and the language file.

When I click on the link in the navigation bar, I'm taken to the site (http://localhost/gallery/). Under gallery/ are several other directories such as v/, d/, modules/, and images/. In order for all links to work properly, I've had to create aliases for each directory because while clicking on the link in the navigation bar takes me to http://localhost/gallery/, all other paths requiring any of these other directories points to /opt/lampp/ instead of /opt/lampp/gallery.

So I guess what I need to know is how to ensure that all links and paths point to /opt/lampp/gallery instead of /opt/lampp without editing the several thousand files individually. Anyone have any thoughts?

Mathew

PostPosted: 09. January 2008 22:11
by Scory
Use ModRewrite