Problem with the root directories and links

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Problem with the root directories and links

Postby theillien » 09. January 2008 17:07

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?

Posts: 3
Joined: 23. December 2006 16:55

Postby Scory » 09. January 2008 22:11

Use ModRewrite

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests